public static final class ListPullRequestCommentsResponse.Builder extends GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder> implements ListPullRequestCommentsResponseOrBuilderThe response to list pull request comments.
Protobuf type google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListPullRequestCommentsResponse.BuilderImplements
ListPullRequestCommentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPullRequestComments(Iterable<? extends PullRequestComment> values)
public ListPullRequestCommentsResponse.Builder addAllPullRequestComments(Iterable<? extends PullRequestComment> values)The list of pull request comments.
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 |
ListPullRequestCommentsResponse.Builder |
|
addPullRequestComments(PullRequestComment value)
public ListPullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment value)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequestComment |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
addPullRequestComments(PullRequestComment.Builder builderForValue)
public ListPullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment.Builder builderForValue)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PullRequestComment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
addPullRequestComments(int index, PullRequestComment value)
public ListPullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment value)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PullRequestComment |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
addPullRequestComments(int index, PullRequestComment.Builder builderForValue)
public ListPullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment.Builder builderForValue)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PullRequestComment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
addPullRequestCommentsBuilder()
public PullRequestComment.Builder addPullRequestCommentsBuilder()The list of pull request comments.
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.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Builder |
|
build()
public ListPullRequestCommentsResponse build()| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse |
|
buildPartial()
public ListPullRequestCommentsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse |
|
clear()
public ListPullRequestCommentsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
clearNextPageToken()
public ListPullRequestCommentsResponse.Builder clearNextPageToken()A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
This builder for chaining. |
clearPullRequestComments()
public ListPullRequestCommentsResponse.Builder clearPullRequestComments()The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
getDefaultInstanceForType()
public ListPullRequestCommentsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getPullRequestComments(int index)
public PullRequestComment getPullRequestComments(int index)The list of pull request comments.
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.
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.
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.
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.
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.
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.
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListPullRequestCommentsResponse other)
public ListPullRequestCommentsResponse.Builder mergeFrom(ListPullRequestCommentsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListPullRequestCommentsResponse |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPullRequestCommentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListPullRequestCommentsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
removePullRequestComments(int index)
public ListPullRequestCommentsResponse.Builder removePullRequestComments(int index)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
setNextPageToken(String value)
public ListPullRequestCommentsResponse.Builder setNextPageToken(String value)A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListPullRequestCommentsResponse.Builder setNextPageTokenBytes(ByteString value)A token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
This builder for chaining. |
setPullRequestComments(int index, PullRequestComment value)
public ListPullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment value)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PullRequestComment |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|
setPullRequestComments(int index, PullRequestComment.Builder builderForValue)
public ListPullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment.Builder builderForValue)The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PullRequestComment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPullRequestCommentsResponse.Builder |
|