Interface FetchGitRepositoryLinkFileBlameRequestOrBuilder (0.60.0)

public interface FetchGitRepositoryLinkFileBlameRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFirstLine()

public abstract int getFirstLine()

Optional. The 1-indexed starting line number of the range to blame (inclusive). If not specified, blame begins at line 1.

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

Returns
Type Description
int

The firstLine.

getLastLine()

public abstract int getLastLine()

Optional. The 1-indexed ending line number of the range to blame (inclusive). If not specified, blame extends to the end of the file.

int32 last_line = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The lastLine.

getName()

public abstract String getName()

Required. The resource name of the GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

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 resource name of the GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

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. The file path within the repository.

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

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Required. The file path within the repository.

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

Returns
Type Description
ByteString

The bytes for path.

getRef()

public abstract String getRef()

Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag) from which to fetch the blame.

string ref = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The ref.

getRefBytes()

public abstract ByteString getRefBytes()

Required. The SCM commit SHA, or symbolic revision (e.g., branch name, tag) from which to fetch the blame.

string ref = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for ref.