public static final class UpdatePullRequestRequest.Builder extends GeneratedMessageV3.Builder<UpdatePullRequestRequest.Builder> implements UpdatePullRequestRequestOrBuilder
UpdatePullRequestRequest is the request to update a pull request.
Protobuf type google.cloud.securesourcemanager.v1.UpdatePullRequestRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdatePullRequestRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdatePullRequestRequest build()
buildPartial()
public UpdatePullRequestRequest buildPartial()
clear()
public UpdatePullRequestRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdatePullRequestRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdatePullRequestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPullRequest()
public UpdatePullRequestRequest.Builder clearPullRequest()
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdatePullRequestRequest.Builder clearUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdatePullRequestRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdatePullRequestRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPullRequest()
public PullRequest getPullRequest()
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
getPullRequestBuilder()
public PullRequest.Builder getPullRequestBuilder()
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
getPullRequestOrBuilder()
public PullRequestOrBuilder getPullRequestOrBuilder()
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasPullRequest()
public boolean hasPullRequest()
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the pullRequest field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdatePullRequestRequest other)
public UpdatePullRequestRequest.Builder mergeFrom(UpdatePullRequestRequest other)
public UpdatePullRequestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdatePullRequestRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePullRequest(PullRequest value)
public UpdatePullRequestRequest.Builder mergePullRequest(PullRequest value)
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePullRequestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdatePullRequestRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdatePullRequestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPullRequest(PullRequest value)
public UpdatePullRequestRequest.Builder setPullRequest(PullRequest value)
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
setPullRequest(PullRequest.Builder builderForValue)
public UpdatePullRequestRequest.Builder setPullRequest(PullRequest.Builder builderForValue)
Required. The pull request to update.
.google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdatePullRequestRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdatePullRequestRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdatePullRequestRequest.Builder setUpdateMask(FieldMask value)
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdatePullRequestRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Field mask is used to specify the fields to be overwritten in the
pull request resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
The special value "*" means full replacement.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|