public static final class OpenGitRepositoryLinkPullRequestRequest.Builder extends GeneratedMessage.Builder<OpenGitRepositoryLinkPullRequestRequest.Builder> implements OpenGitRepositoryLinkPullRequestRequestOrBuilderMessage for opening SCM Pull Request.
Protobuf type google.cloud.developerconnect.v1.OpenGitRepositoryLinkPullRequestRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OpenGitRepositoryLinkPullRequestRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public OpenGitRepositoryLinkPullRequestRequest build()| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest |
|
buildPartial()
public OpenGitRepositoryLinkPullRequestRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest |
|
clear()
public OpenGitRepositoryLinkPullRequestRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
clearName()
public OpenGitRepositoryLinkPullRequestRequest.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 |
OpenGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearPullRequest()
public OpenGitRepositoryLinkPullRequestRequest.Builder clearPullRequest()Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
getDefaultInstanceForType()
public OpenGitRepositoryLinkPullRequestRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest |
|
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. |
getPullRequest()
public PullRequest getPullRequest()Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest |
The pullRequest. |
getPullRequestBuilder()
public PullRequest.Builder getPullRequestBuilder()Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
getPullRequestOrBuilder()
public PullRequestOrBuilder getPullRequestOrBuilder()Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequestOrBuilder |
|
hasPullRequest()
public boolean hasPullRequest()Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the pullRequest field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OpenGitRepositoryLinkPullRequestRequest other)
public OpenGitRepositoryLinkPullRequestRequest.Builder mergeFrom(OpenGitRepositoryLinkPullRequestRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
OpenGitRepositoryLinkPullRequestRequest |
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OpenGitRepositoryLinkPullRequestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OpenGitRepositoryLinkPullRequestRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
mergePullRequest(PullRequest value)
public OpenGitRepositoryLinkPullRequestRequest.Builder mergePullRequest(PullRequest value)Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest |
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
setName(String value)
public OpenGitRepositoryLinkPullRequestRequest.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 |
OpenGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public OpenGitRepositoryLinkPullRequestRequest.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 |
OpenGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setPullRequest(PullRequest value)
public OpenGitRepositoryLinkPullRequestRequest.Builder setPullRequest(PullRequest value)Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest |
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|
setPullRequest(PullRequest.Builder builderForValue)
public OpenGitRepositoryLinkPullRequestRequest.Builder setPullRequest(PullRequest.Builder builderForValue)Required. The Pull Request details to open. Input fields used: title, body, head_ref, base_ref.
.google.cloud.developerconnect.v1.PullRequest pull_request = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PullRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
OpenGitRepositoryLinkPullRequestRequest.Builder |
|