public static final class FetchGitRepositoryLinkPullRequestRequest.Builder extends GeneratedMessage.Builder<FetchGitRepositoryLinkPullRequestRequest.Builder> implements FetchGitRepositoryLinkPullRequestRequestOrBuilderRequest message for FetchGitRepositoryLinkPullRequest.
Protobuf type google.cloud.developerconnect.v1.FetchGitRepositoryLinkPullRequestRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchGitRepositoryLinkPullRequestRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchGitRepositoryLinkPullRequestRequest build()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest |
|
buildPartial()
public FetchGitRepositoryLinkPullRequestRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest |
|
clear()
public FetchGitRepositoryLinkPullRequestRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
|
clearName()
public FetchGitRepositoryLinkPullRequestRequest.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 |
FetchGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
clearPullRequestId()
public FetchGitRepositoryLinkPullRequestRequest.Builder clearPullRequestId()Required. The ID of the Pull Request.
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchGitRepositoryLinkPullRequestRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getPullRequestId()
public String getPullRequestId()Required. The ID of the Pull Request.
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The pullRequestId. |
getPullRequestIdBytes()
public ByteString getPullRequestIdBytes()Required. The ID of the Pull Request.
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pullRequestId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchGitRepositoryLinkPullRequestRequest other)
public FetchGitRepositoryLinkPullRequestRequest.Builder mergeFrom(FetchGitRepositoryLinkPullRequestRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchGitRepositoryLinkPullRequestRequest |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchGitRepositoryLinkPullRequestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchGitRepositoryLinkPullRequestRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
|
setName(String value)
public FetchGitRepositoryLinkPullRequestRequest.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 |
FetchGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchGitRepositoryLinkPullRequestRequest.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 |
FetchGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setPullRequestId(String value)
public FetchGitRepositoryLinkPullRequestRequest.Builder setPullRequestId(String value)Required. The ID of the Pull Request.
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pullRequestId to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |
setPullRequestIdBytes(ByteString value)
public FetchGitRepositoryLinkPullRequestRequest.Builder setPullRequestIdBytes(ByteString value)Required. The ID of the Pull Request.
string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pullRequestId to set. |
| Returns | |
|---|---|
| Type | Description |
FetchGitRepositoryLinkPullRequestRequest.Builder |
This builder for chaining. |