Interface ResetWorkspaceChangesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResetWorkspaceChangesRequest
,ResetWorkspaceChangesRequest.Builder
public interface ResetWorkspaceChangesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getClean()
Optional.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getPaths(int index)
Optional.com.google.protobuf.ByteString
getPathsBytes(int index)
Optional.int
getPathsCount()
Optional.List<String>
getPathsList()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The workspace's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The workspace's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getPathsList
List<String> getPathsList()
Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.
repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the paths.
-
getPathsCount
int getPathsCount()
Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.
repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of paths.
-
getPaths
String getPaths(int index)
Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.
repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The paths at the given index.
-
getPathsBytes
com.google.protobuf.ByteString getPathsBytes(int index)
Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.
repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the paths at the given index.
-
getClean
boolean getClean()
Optional. If set to true, untracked files will be deleted.
bool clean = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The clean.
-
-