public static final class ListPullRequestCommentsResponse.Builder extends GeneratedMessageV3.Builder<ListPullRequestCommentsResponse.Builder> implements ListPullRequestCommentsResponseOrBuilder
The response to list pull request comments.
Protobuf type google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ListPullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment value)
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public ListPullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment.Builder builderForValue)
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public ListPullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment value)
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
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;
public PullRequestComment.Builder addPullRequestCommentsBuilder()
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
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
|
public ListPullRequestCommentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListPullRequestCommentsResponse build()
public ListPullRequestCommentsResponse buildPartial()
public ListPullRequestCommentsResponse.Builder clear()
Overrides
public ListPullRequestCommentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public ListPullRequestCommentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListPullRequestCommentsResponse.Builder clearPullRequestComments()
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public ListPullRequestCommentsResponse.Builder clone()
Overrides
public ListPullRequestCommentsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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
|
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
|
public List<PullRequestComment.Builder> getPullRequestCommentsBuilderList()
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public int getPullRequestCommentsCount()
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Returns |
Type |
Description |
int |
|
public List<PullRequestComment> getPullRequestCommentsList()
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListPullRequestCommentsResponse.Builder mergeFrom(ListPullRequestCommentsResponse other)
public ListPullRequestCommentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListPullRequestCommentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListPullRequestCommentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListPullRequestCommentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
public ListPullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment value)
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
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;
public ListPullRequestCommentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListPullRequestCommentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides