Class BatchCreatePullRequestCommentsResponse.Builder (0.55.0)

public static final class BatchCreatePullRequestCommentsResponse.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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