Class UpdatePullRequestCommentRequest.Builder (0.40.0)

public static final class UpdatePullRequestCommentRequest.Builder extends GeneratedMessageV3.Builder<UpdatePullRequestCommentRequest.Builder> implements UpdatePullRequestCommentRequestOrBuilder

The request to update a pull request comment.

Protobuf type google.cloud.securesourcemanager.v1.UpdatePullRequestCommentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdatePullRequestCommentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

build()

public UpdatePullRequestCommentRequest build()
Returns
Type Description
UpdatePullRequestCommentRequest

buildPartial()

public UpdatePullRequestCommentRequest buildPartial()
Returns
Type Description
UpdatePullRequestCommentRequest

clear()

public UpdatePullRequestCommentRequest.Builder clear()
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdatePullRequestCommentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePullRequestCommentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

clearPullRequestComment()

public UpdatePullRequestCommentRequest.Builder clearPullRequestComment()

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdatePullRequestCommentRequest.Builder

clearUpdateMask()

public UpdatePullRequestCommentRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdatePullRequestCommentRequest.Builder

clone()

public UpdatePullRequestCommentRequest.Builder clone()
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdatePullRequestCommentRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePullRequestCommentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPullRequestComment()

public PullRequestComment getPullRequestComment()

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestComment

The pullRequestComment.

getPullRequestCommentBuilder()

public PullRequestComment.Builder getPullRequestCommentBuilder()

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestComment.Builder

getPullRequestCommentOrBuilder()

public PullRequestCommentOrBuilder getPullRequestCommentOrBuilder()

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestCommentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.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 comment resource by the update. Updatable fields are body.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasPullRequestComment()

public boolean hasPullRequestComment()

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pullRequestComment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePullRequestCommentRequest other)

public UpdatePullRequestCommentRequest.Builder mergeFrom(UpdatePullRequestCommentRequest other)
Parameter
Name Description
other UpdatePullRequestCommentRequest
Returns
Type Description
UpdatePullRequestCommentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatePullRequestCommentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdatePullRequestCommentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

mergePullRequestComment(PullRequestComment value)

public UpdatePullRequestCommentRequest.Builder mergePullRequestComment(PullRequestComment value)

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PullRequestComment
Returns
Type Description
UpdatePullRequestCommentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePullRequestCommentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdatePullRequestCommentRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePullRequestCommentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePullRequestCommentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

setPullRequestComment(PullRequestComment value)

public UpdatePullRequestCommentRequest.Builder setPullRequestComment(PullRequestComment value)

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PullRequestComment
Returns
Type Description
UpdatePullRequestCommentRequest.Builder

setPullRequestComment(PullRequestComment.Builder builderForValue)

public UpdatePullRequestCommentRequest.Builder setPullRequestComment(PullRequestComment.Builder builderForValue)

Required. The pull request comment to update.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PullRequestComment.Builder
Returns
Type Description
UpdatePullRequestCommentRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdatePullRequestCommentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePullRequestCommentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdatePullRequestCommentRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdatePullRequestCommentRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePullRequestCommentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePullRequestCommentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are body.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePullRequestCommentRequest.Builder