Class UnresolvePullRequestCommentsResponse.Builder (0.53.0)

public static final class UnresolvePullRequestCommentsResponse.Builder extends GeneratedMessage.Builder<UnresolvePullRequestCommentsResponse.Builder> implements UnresolvePullRequestCommentsResponseOrBuilder

The response to unresolve multiple pull request comments.

Protobuf type google.cloud.securesourcemanager.v1.UnresolvePullRequestCommentsResponse

Static Methods

getDescriptor()

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

Methods

addAllPullRequestComments(Iterable<? extends PullRequestComment> values)

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

The list of pull request comments unresolved.

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
UnresolvePullRequestCommentsResponse.Builder

addPullRequestComments(PullRequestComment value)

public UnresolvePullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment value)

The list of pull request comments unresolved.

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

Parameter
Name Description
value PullRequestComment
Returns
Type Description
UnresolvePullRequestCommentsResponse.Builder

addPullRequestComments(PullRequestComment.Builder builderForValue)

public UnresolvePullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment.Builder builderForValue)

The list of pull request comments unresolved.

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

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

addPullRequestComments(int index, PullRequestComment value)

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

The list of pull request comments unresolved.

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

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

addPullRequestComments(int index, PullRequestComment.Builder builderForValue)

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

The list of pull request comments unresolved.

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

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

addPullRequestCommentsBuilder()

public PullRequestComment.Builder addPullRequestCommentsBuilder()

The list of pull request comments unresolved.

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

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

Parameter
Name Description
index int
Returns
Type Description
PullRequestComment.Builder

build()

public UnresolvePullRequestCommentsResponse build()
Returns
Type Description
UnresolvePullRequestCommentsResponse

buildPartial()

public UnresolvePullRequestCommentsResponse buildPartial()
Returns
Type Description
UnresolvePullRequestCommentsResponse

clear()

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

clearPullRequestComments()

public UnresolvePullRequestCommentsResponse.Builder clearPullRequestComments()

The list of pull request comments unresolved.

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

Returns
Type Description
UnresolvePullRequestCommentsResponse.Builder

getDefaultInstanceForType()

public UnresolvePullRequestCommentsResponse getDefaultInstanceForType()
Returns
Type Description
UnresolvePullRequestCommentsResponse

getDescriptorForType()

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

getPullRequestComments(int index)

public PullRequestComment getPullRequestComments(int index)

The list of pull request comments unresolved.

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

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

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

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

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

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

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(UnresolvePullRequestCommentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePullRequestComments(int index)

public UnresolvePullRequestCommentsResponse.Builder removePullRequestComments(int index)

The list of pull request comments unresolved.

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

Parameter
Name Description
index int
Returns
Type Description
UnresolvePullRequestCommentsResponse.Builder

setPullRequestComments(int index, PullRequestComment value)

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

The list of pull request comments unresolved.

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

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

setPullRequestComments(int index, PullRequestComment.Builder builderForValue)

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

The list of pull request comments unresolved.

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

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