public static final class ModifyGitRepositoryLinkPullRequestRequest.Builder extends GeneratedMessage.Builder<ModifyGitRepositoryLinkPullRequestRequest.Builder> implements ModifyGitRepositoryLinkPullRequestRequestOrBuilderMessage for modifying SCM Pull Request.
Protobuf type
google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModifyGitRepositoryLinkPullRequestRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ModifyGitRepositoryLinkPullRequestRequest build()| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest |
|
buildPartial()
public ModifyGitRepositoryLinkPullRequestRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest |
|
clear()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
|
clearBaseRef()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clearBaseRef()Optional. The target branch to merge into.
string base_ref = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearBody()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clearBody()Optional. The body description of the Pull Request.
string body = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearName()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clearName() Required. The GitRepositoryLink resource name in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearPullRequestId()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clearPullRequestId()Required. The SCM-specific Pull Request identifier (e.g., "45").
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearState()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clearState()Optional. The state of the Pull Request.
.google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest.State state = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearTitle()
public ModifyGitRepositoryLinkPullRequestRequest.Builder clearTitle()Optional. The title of the Pull Request.
string title = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
getBaseRef()
public String getBaseRef()Optional. The target branch to merge into.
string base_ref = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The baseRef. |
getBaseRefBytes()
public ByteString getBaseRefBytes()Optional. The target branch to merge into.
string base_ref = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for baseRef. |
getBody()
public String getBody()Optional. The body description of the Pull Request.
string body = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The body. |
getBodyBytes()
public ByteString getBodyBytes()Optional. The body description of the Pull Request.
string body = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for body. |
getDefaultInstanceForType()
public ModifyGitRepositoryLinkPullRequestRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The GitRepositoryLink resource name 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 GitRepositoryLink resource name 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. |
getPullRequestId()
public String getPullRequestId()Required. The SCM-specific Pull Request identifier (e.g., "45").
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The pullRequestId. |
getPullRequestIdBytes()
public ByteString getPullRequestIdBytes()Required. The SCM-specific Pull Request identifier (e.g., "45").
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pullRequestId. |
getState()
public ModifyGitRepositoryLinkPullRequestRequest.State getState()Optional. The state of the Pull Request.
.google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest.State state = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.State |
The state. |
getStateValue()
public int getStateValue()Optional. The state of the Pull Request.
.google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest.State state = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getTitle()
public String getTitle()Optional. The title of the Pull Request.
string title = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()Optional. The title of the Pull Request.
string title = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ModifyGitRepositoryLinkPullRequestRequest other)
public ModifyGitRepositoryLinkPullRequestRequest.Builder mergeFrom(ModifyGitRepositoryLinkPullRequestRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ModifyGitRepositoryLinkPullRequestRequest |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModifyGitRepositoryLinkPullRequestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ModifyGitRepositoryLinkPullRequestRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
|
setBaseRef(String value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setBaseRef(String value)Optional. The target branch to merge into.
string base_ref = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe baseRef to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setBaseRefBytes(ByteString value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setBaseRefBytes(ByteString value)Optional. The target branch to merge into.
string base_ref = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for baseRef to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setBody(String value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setBody(String value)Optional. The body description of the Pull Request.
string body = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe body to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setBodyBytes(ByteString value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setBodyBytes(ByteString value)Optional. The body description of the Pull Request.
string body = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for body to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setName(String value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setName(String value) Required. The GitRepositoryLink resource name 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 |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setNameBytes(ByteString value) Required. The GitRepositoryLink resource name 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 |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setPullRequestId(String value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setPullRequestId(String value)Required. The SCM-specific Pull Request identifier (e.g., "45").
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pullRequestId to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setPullRequestIdBytes(ByteString value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setPullRequestIdBytes(ByteString value)Required. The SCM-specific Pull Request identifier (e.g., "45").
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pullRequestId to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setState(ModifyGitRepositoryLinkPullRequestRequest.State value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setState(ModifyGitRepositoryLinkPullRequestRequest.State value)Optional. The state of the Pull Request.
.google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest.State state = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ModifyGitRepositoryLinkPullRequestRequest.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setStateValue(int value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setStateValue(int value)Optional. The state of the Pull Request.
.google.cloud.developerconnect.v1.ModifyGitRepositoryLinkPullRequestRequest.State state = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setTitle(String value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setTitle(String value)Optional. The title of the Pull Request.
string title = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public ModifyGitRepositoryLinkPullRequestRequest.Builder setTitleBytes(ByteString value)Optional. The title of the Pull Request.
string title = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
ModifyGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |