Class BatchCreatePullRequestCommentsResponse (0.40.0)

public final class BatchCreatePullRequestCommentsResponse extends GeneratedMessageV3 implements BatchCreatePullRequestCommentsResponseOrBuilder

The response to batch create pull request comments.

Protobuf type google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchCreatePullRequestCommentsResponse

Static Fields

PULL_REQUEST_COMMENTS_FIELD_NUMBER

public static final int PULL_REQUEST_COMMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreatePullRequestCommentsResponse getDefaultInstance()
Returns
Type Description
BatchCreatePullRequestCommentsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchCreatePullRequestCommentsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchCreatePullRequestCommentsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreatePullRequestCommentsResponse

getParserForType()

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

getPullRequestComments(int index)

public PullRequestComment getPullRequestComments(int index)

The list of pull request comments created.

repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;

Parameter
Name Description
index int
Returns
Type Description
PullRequestComment

getPullRequestCommentsCount()

public int getPullRequestCommentsCount()

The list of pull request comments created.

repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;

Returns
Type Description
int

getPullRequestCommentsList()

public List<PullRequestComment> getPullRequestCommentsList()

The list of pull request comments created.

repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;

Returns
Type Description
List<PullRequestComment>

getPullRequestCommentsOrBuilder(int index)

public PullRequestCommentOrBuilder getPullRequestCommentsOrBuilder(int index)

The list of pull request comments created.

repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;

Parameter
Name Description
index int
Returns
Type Description
PullRequestCommentOrBuilder

getPullRequestCommentsOrBuilderList()

public List<? extends PullRequestCommentOrBuilder> getPullRequestCommentsOrBuilderList()

The list of pull request comments created.

repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;

Returns
Type Description
List<? extends com.google.cloud.securesourcemanager.v1.PullRequestCommentOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 BatchCreatePullRequestCommentsResponse.Builder newBuilderForType()
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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