Class BatchCreatePullRequestCommentsResponse.Builder (0.40.0)

public static final class BatchCreatePullRequestCommentsResponse.Builder extends GeneratedMessageV3.Builder<BatchCreatePullRequestCommentsResponse.Builder> implements BatchCreatePullRequestCommentsResponseOrBuilder

The response to batch create pull request comments.

Protobuf type google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsResponse

Static Methods

getDescriptor()

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

Methods

addAllPullRequestComments(Iterable<? extends PullRequestComment> values)

public BatchCreatePullRequestCommentsResponse.Builder addAllPullRequestComments(Iterable<? extends PullRequestComment> values)

The list of pull request comments created.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.securesourcemanager.v1.PullRequestComment>
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

addPullRequestComments(PullRequestComment value)

public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment value)

The list of pull request comments created.

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

Parameter
Name Description
value PullRequestComment
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

addPullRequestComments(PullRequestComment.Builder builderForValue)

public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment.Builder builderForValue)

The list of pull request comments created.

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

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

addPullRequestComments(int index, PullRequestComment value)

public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment value)

The list of pull request comments created.

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

Parameters
Name Description
index int
value PullRequestComment
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

addPullRequestComments(int index, PullRequestComment.Builder builderForValue)

public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment.Builder builderForValue)

The list of pull request comments created.

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

Parameters
Name Description
index int
builderForValue PullRequestComment.Builder
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

addPullRequestCommentsBuilder()

public PullRequestComment.Builder addPullRequestCommentsBuilder()

The list of pull request comments created.

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

Returns
Type Description
PullRequestComment.Builder

addPullRequestCommentsBuilder(int index)

public PullRequestComment.Builder addPullRequestCommentsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchCreatePullRequestCommentsResponse build()
Returns
Type Description
BatchCreatePullRequestCommentsResponse

buildPartial()

public BatchCreatePullRequestCommentsResponse buildPartial()
Returns
Type Description
BatchCreatePullRequestCommentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPullRequestComments()

public BatchCreatePullRequestCommentsResponse.Builder clearPullRequestComments()

The list of pull request comments created.

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

Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreatePullRequestCommentsResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreatePullRequestCommentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getPullRequestCommentsBuilder(int index)

public PullRequestComment.Builder getPullRequestCommentsBuilder(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.Builder

getPullRequestCommentsBuilderList()

public List<PullRequestComment.Builder> getPullRequestCommentsBuilderList()

The list of pull request comments created.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreatePullRequestCommentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePullRequestComments(int index)

public BatchCreatePullRequestCommentsResponse.Builder removePullRequestComments(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
BatchCreatePullRequestCommentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPullRequestComments(int index, PullRequestComment value)

public BatchCreatePullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment value)

The list of pull request comments created.

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

Parameters
Name Description
index int
value PullRequestComment
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

setPullRequestComments(int index, PullRequestComment.Builder builderForValue)

public BatchCreatePullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment.Builder builderForValue)

The list of pull request comments created.

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

Parameters
Name Description
index int
builderForValue PullRequestComment.Builder
Returns
Type Description
BatchCreatePullRequestCommentsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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