Class ListPullRequestCommentsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
com.google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse.Builder
- All Implemented Interfaces:
ListPullRequestCommentsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPullRequestCommentsResponse
public static final class ListPullRequestCommentsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
implements ListPullRequestCommentsResponseOrBuilder
The response to list pull request comments.Protobuf type
google.cloud.securesourcemanager.v1.ListPullRequestCommentsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPullRequestComments(Iterable<? extends PullRequestComment> values) The list of pull request comments.addPullRequestComments(int index, PullRequestComment value) The list of pull request comments.addPullRequestComments(int index, PullRequestComment.Builder builderForValue) The list of pull request comments.The list of pull request comments.addPullRequestComments(PullRequestComment.Builder builderForValue) The list of pull request comments.The list of pull request comments.addPullRequestCommentsBuilder(int index) The list of pull request comments.build()clear()A token to set as page_token to retrieve the next page.The list of pull request comments.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token to set as page_token to retrieve the next page.com.google.protobuf.ByteStringA token to set as page_token to retrieve the next page.getPullRequestComments(int index) The list of pull request comments.getPullRequestCommentsBuilder(int index) The list of pull request comments.The list of pull request comments.intThe list of pull request comments.The list of pull request comments.getPullRequestCommentsOrBuilder(int index) The list of pull request comments.List<? extends PullRequestCommentOrBuilder>The list of pull request comments.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePullRequestComments(int index) The list of pull request comments.setNextPageToken(String value) A token to set as page_token to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token to set as page_token to retrieve the next page.setPullRequestComments(int index, PullRequestComment value) The list of pull request comments.setPullRequestComments(int index, PullRequestComment.Builder builderForValue) The list of pull request comments.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPullRequestCommentsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
-
mergeFrom
public ListPullRequestCommentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPullRequestCommentsResponse.Builder>- Throws:
IOException
-
getPullRequestCommentsList
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;- Specified by:
getPullRequestCommentsListin interfaceListPullRequestCommentsResponseOrBuilder
-
getPullRequestCommentsCount
public int getPullRequestCommentsCount()The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;- Specified by:
getPullRequestCommentsCountin interfaceListPullRequestCommentsResponseOrBuilder
-
getPullRequestComments
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;- Specified by:
getPullRequestCommentsin interfaceListPullRequestCommentsResponseOrBuilder
-
setPullRequestComments
public ListPullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment value) The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
setPullRequestComments
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; -
addPullRequestComments
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
addPullRequestComments
public ListPullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment value) The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
addPullRequestComments
public ListPullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment.Builder builderForValue) The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
addPullRequestComments
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; -
addAllPullRequestComments
public ListPullRequestCommentsResponse.Builder addAllPullRequestComments(Iterable<? extends PullRequestComment> values) The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
clearPullRequestComments
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
removePullRequestComments
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
getPullRequestCommentsBuilder
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
getPullRequestCommentsOrBuilder
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;- Specified by:
getPullRequestCommentsOrBuilderin interfaceListPullRequestCommentsResponseOrBuilder
-
getPullRequestCommentsOrBuilderList
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;- Specified by:
getPullRequestCommentsOrBuilderListin interfaceListPullRequestCommentsResponseOrBuilder
-
addPullRequestCommentsBuilder
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
addPullRequestCommentsBuilder
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
getPullRequestCommentsBuilderList
The list of pull request comments.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1; -
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;- Specified by:
getNextPageTokenin interfaceListPullRequestCommentsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListPullRequestCommentsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPullRequestCommentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-