Interface ReadRepositoryFileRequestOrBuilder (0.35.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for path.