Class UpdateIssueCommentRequest.Builder (0.40.0)

public static final class UpdateIssueCommentRequest.Builder extends GeneratedMessageV3.Builder<UpdateIssueCommentRequest.Builder> implements UpdateIssueCommentRequestOrBuilder

The request to update an issue comment.

Protobuf type google.cloud.securesourcemanager.v1.UpdateIssueCommentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateIssueCommentRequest build()
Returns
Type Description
UpdateIssueCommentRequest

buildPartial()

public UpdateIssueCommentRequest buildPartial()
Returns
Type Description
UpdateIssueCommentRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIssueComment()

public UpdateIssueCommentRequest.Builder clearIssueComment()

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateIssueCommentRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateIssueCommentRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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
UpdateIssueCommentRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateIssueCommentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateIssueCommentRequest

getDescriptorForType()

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

getIssueComment()

public IssueComment getIssueComment()

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IssueComment

The issueComment.

getIssueCommentBuilder()

public IssueComment.Builder getIssueCommentBuilder()

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IssueComment.Builder

getIssueCommentOrBuilder()

public IssueCommentOrBuilder getIssueCommentOrBuilder()

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IssueCommentOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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 issue comment 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
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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
FieldMaskOrBuilder

hasIssueComment()

public boolean hasIssueComment()

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the issueComment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateIssueCommentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIssueComment(IssueComment value)

public UpdateIssueCommentRequest.Builder mergeIssueComment(IssueComment value)

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IssueComment
Returns
Type Description
UpdateIssueCommentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateIssueCommentRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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
value FieldMask
Returns
Type Description
UpdateIssueCommentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIssueComment(IssueComment value)

public UpdateIssueCommentRequest.Builder setIssueComment(IssueComment value)

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IssueComment
Returns
Type Description
UpdateIssueCommentRequest.Builder

setIssueComment(IssueComment.Builder builderForValue)

public UpdateIssueCommentRequest.Builder setIssueComment(IssueComment.Builder builderForValue)

Required. The issue comment to update.

.google.cloud.securesourcemanager.v1.IssueComment issue_comment = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue IssueComment.Builder
Returns
Type Description
UpdateIssueCommentRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateIssueCommentRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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
value FieldMask
Returns
Type Description
UpdateIssueCommentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateIssueCommentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the issue comment 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
Returns
Type Description
UpdateIssueCommentRequest.Builder