Interface ResetWorkspaceChangesRequestOrBuilder (0.12.0)

public interface ResetWorkspaceChangesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClean()

public abstract boolean getClean()

Optional. If set to true, untracked files will be deleted.

bool clean = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The clean.

getName()

public abstract String getName()

Required. The workspace's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The workspace's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getPaths(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The paths at the given index.

getPathsBytes(int index)

public abstract 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];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the paths at the given index.

getPathsCount()

public abstract 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
TypeDescription
int

The count of paths.

getPathsList()

public abstract 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
TypeDescription
List<String>

A list containing the paths.