public static final class FetchGitRepositoryLinkFileBlameRequest.Builder extends GeneratedMessage.Builder<FetchGitRepositoryLinkFileBlameRequest.Builder> implements FetchGitRepositoryLinkFileBlameRequestOrBuilderRequest message for FetchGitRepositoryLinkFileBlame.
Protobuf type google.cloud.developerconnect.v1.FetchGitRepositoryLinkFileBlameRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchGitRepositoryLinkFileBlameRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchGitRepositoryLinkFileBlameRequest build()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest |
|
buildPartial()
public FetchGitRepositoryLinkFileBlameRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest |
|
clear()
public FetchGitRepositoryLinkFileBlameRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
|
clearFirstLine()
public FetchGitRepositoryLinkFileBlameRequest.Builder clearFirstLine()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 |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
clearLastLine()
public FetchGitRepositoryLinkFileBlameRequest.Builder clearLastLine()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 |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
clearName()
public FetchGitRepositoryLinkFileBlameRequest.Builder clearName() 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 |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
clearPath()
public FetchGitRepositoryLinkFileBlameRequest.Builder clearPath()Required. The file path within the repository.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
clearRef()
public FetchGitRepositoryLinkFileBlameRequest.Builder clearRef()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 |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchGitRepositoryLinkFileBlameRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFirstLine()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchGitRepositoryLinkFileBlameRequest other)
public FetchGitRepositoryLinkFileBlameRequest.Builder mergeFrom(FetchGitRepositoryLinkFileBlameRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchGitRepositoryLinkFileBlameRequest |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchGitRepositoryLinkFileBlameRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchGitRepositoryLinkFileBlameRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
|
setFirstLine(int value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setFirstLine(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe firstLine to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setLastLine(int value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setLastLine(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe lastLine to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setName(String value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setName(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setNameBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setPath(String value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setPath(String value)Required. The file path within the repository.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setPathBytes(ByteString value)Required. The file path within the repository.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setRef(String value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setRef(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ref to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |
setRefBytes(ByteString value)
public FetchGitRepositoryLinkFileBlameRequest.Builder setRefBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ref to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkFileBlameRequest.Builder |
This builder for chaining. |