Interface ReadRepositoryFileRequestOrBuilder (0.46.0)

public interface ReadRepositoryFileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitSha()

public abstract String getCommitSha()

Optional. The commit SHA for the commit to read from. If unset, the file will be read 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 read from. If unset, the file will be read 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.

getPath()

public abstract String getPath()

Required. Full file path to read including filename, from repository root.

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

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Required. Full file path to read including filename, from repository root.

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

Returns
Type Description
ByteString

The bytes for path.