Interface QueryRepositoryDirectoryContentsRequestOrBuilder (0.52.0)

public interface QueryRepositoryDirectoryContentsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitSha()

public abstract String getCommitSha()

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The commitSha.

getCommitShaBytes()

public abstract ByteString getCommitShaBytes()

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for commitSha.

getName()

public abstract String getName()

Required. The repository's name.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The repository's name.

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

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public abstract int getPageSize()

Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

Optional. Page token received from a previous QueryRepositoryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryRepositoryDirectoryContents must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

Optional. Page token received from a previous QueryRepositoryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryRepositoryDirectoryContents must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getPath()

public abstract String getPath()

Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.

string path = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.

string path = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for path.