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
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdatePullRequestCommentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdatePullRequestCommentRequest build()
public UpdatePullRequestCommentRequest buildPartial()
public UpdatePullRequestCommentRequest.Builder clear()
Overrides
public UpdatePullRequestCommentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdatePullRequestCommentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
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];
public UpdatePullRequestCommentRequest.Builder clone()
Overrides
public UpdatePullRequestCommentRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public PullRequestComment getPullRequestComment()
Required. The pull request comment to update.
.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public PullRequestCommentOrBuilder getPullRequestCommentOrBuilder()
Required. The pull request comment to update.
.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdatePullRequestCommentRequest.Builder mergeFrom(UpdatePullRequestCommentRequest other)
public UpdatePullRequestCommentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdatePullRequestCommentRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
public final UpdatePullRequestCommentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
public UpdatePullRequestCommentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
public UpdatePullRequestCommentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdatePullRequestCommentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|