Class UpdateIssueCommentRequest (0.40.0)

public final class UpdateIssueCommentRequest extends GeneratedMessageV3 implements UpdateIssueCommentRequestOrBuilder

The request to update an issue comment.

Protobuf type google.cloud.securesourcemanager.v1.UpdateIssueCommentRequest

Static Fields

ISSUE_COMMENT_FIELD_NUMBER

public static final int ISSUE_COMMENT_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateIssueCommentRequest getDefaultInstance()
Returns
Type Description
UpdateIssueCommentRequest

getDescriptor()

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

newBuilder()

public static UpdateIssueCommentRequest.Builder newBuilder()
Returns
Type Description
UpdateIssueCommentRequest.Builder

newBuilder(UpdateIssueCommentRequest prototype)

public static UpdateIssueCommentRequest.Builder newBuilder(UpdateIssueCommentRequest prototype)
Parameter
Name Description
prototype UpdateIssueCommentRequest
Returns
Type Description
UpdateIssueCommentRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateIssueCommentRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateIssueCommentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateIssueCommentRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateIssueCommentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateIssueCommentRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateIssueCommentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateIssueCommentRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateIssueCommentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateIssueCommentRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateIssueCommentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateIssueCommentRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateIssueCommentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateIssueCommentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateIssueCommentRequest> parser()
Returns
Type Description
Parser<UpdateIssueCommentRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateIssueCommentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateIssueCommentRequest

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.

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

getParserForType()

public Parser<UpdateIssueCommentRequest> getParserForType()
Returns
Type Description
Parser<UpdateIssueCommentRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateIssueCommentRequest.Builder newBuilderForType()
Returns
Type Description
UpdateIssueCommentRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateIssueCommentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateIssueCommentRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateIssueCommentRequest.Builder toBuilder()
Returns
Type Description
UpdateIssueCommentRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException