Interface BlameRangeOrBuilder (0.60.0)

public interface BlameRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommit()

public abstract SCMCommit getCommit()

The commit metadata for this line range.

.google.cloud.developerconnect.v1.SCMCommit commit = 3;

Returns
Type Description
SCMCommit

The commit.

getCommitOrBuilder()

public abstract SCMCommitOrBuilder getCommitOrBuilder()

The commit metadata for this line range.

.google.cloud.developerconnect.v1.SCMCommit commit = 3;

Returns
Type Description
SCMCommitOrBuilder

getFirstLine()

public abstract int getFirstLine()

The 1-indexed starting line number of the range (inclusive).

int32 first_line = 1;

Returns
Type Description
int

The firstLine.

getLastLine()

public abstract int getLastLine()

The 1-indexed ending line number of the range (inclusive).

int32 last_line = 2;

Returns
Type Description
int

The lastLine.

hasCommit()

public abstract boolean hasCommit()

The commit metadata for this line range.

.google.cloud.developerconnect.v1.SCMCommit commit = 3;

Returns
Type Description
boolean

Whether the commit field is set.