public static final class BlameRange.Builder extends GeneratedMessage.Builder<BlameRange.Builder> implements BlameRangeOrBuilderBlameRange represents blame information for a range of lines.
Protobuf type google.cloud.developerconnect.v1.BlameRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BlameRange.BuilderImplements
BlameRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BlameRange build()| Returns | |
|---|---|
| Type | Description |
BlameRange |
|
buildPartial()
public BlameRange buildPartial()| Returns | |
|---|---|
| Type | Description |
BlameRange |
|
clear()
public BlameRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
clearCommit()
public BlameRange.Builder clearCommit()The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
clearFirstLine()
public BlameRange.Builder clearFirstLine()The 1-indexed starting line number of the range (inclusive).
int32 first_line = 1;
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
This builder for chaining. |
clearLastLine()
public BlameRange.Builder clearLastLine()The 1-indexed ending line number of the range (inclusive).
int32 last_line = 2;
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
This builder for chaining. |
getCommit()
public SCMCommit getCommit()The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Returns | |
|---|---|
| Type | Description |
SCMCommit |
The commit. |
getCommitBuilder()
public SCMCommit.Builder getCommitBuilder()The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Returns | |
|---|---|
| Type | Description |
SCMCommit.Builder |
|
getCommitOrBuilder()
public SCMCommitOrBuilder getCommitOrBuilder()The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Returns | |
|---|---|
| Type | Description |
SCMCommitOrBuilder |
|
getDefaultInstanceForType()
public BlameRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BlameRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFirstLine()
public int getFirstLine()The 1-indexed starting line number of the range (inclusive).
int32 first_line = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The firstLine. |
getLastLine()
public int getLastLine()The 1-indexed ending line number of the range (inclusive).
int32 last_line = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The lastLine. |
hasCommit()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommit(SCMCommit value)
public BlameRange.Builder mergeCommit(SCMCommit value)The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SCMCommit |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
mergeFrom(BlameRange other)
public BlameRange.Builder mergeFrom(BlameRange other)| Parameter | |
|---|---|
| Name | Description |
other |
BlameRange |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BlameRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BlameRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
setCommit(SCMCommit value)
public BlameRange.Builder setCommit(SCMCommit value)The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SCMCommit |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
setCommit(SCMCommit.Builder builderForValue)
public BlameRange.Builder setCommit(SCMCommit.Builder builderForValue)The commit metadata for this line range.
.google.cloud.developerconnect.v1.SCMCommit commit = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SCMCommit.Builder |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
|
setFirstLine(int value)
public BlameRange.Builder setFirstLine(int value)The 1-indexed starting line number of the range (inclusive).
int32 first_line = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe firstLine to set. |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
This builder for chaining. |
setLastLine(int value)
public BlameRange.Builder setLastLine(int value)The 1-indexed ending line number of the range (inclusive).
int32 last_line = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe lastLine to set. |
| Returns | |
|---|---|
| Type | Description |
BlameRange.Builder |
This builder for chaining. |