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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListPullRequestCommentsResponse.Builder>
    • getDefaultInstanceForType

      public ListPullRequestCommentsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListPullRequestCommentsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListPullRequestCommentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPullRequestCommentsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPullRequestCommentsResponse.Builder>
      Throws:
      IOException
    • getPullRequestCommentsList

      public List<PullRequestComment> getPullRequestCommentsList()
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
      Specified by:
      getPullRequestCommentsList in interface ListPullRequestCommentsResponseOrBuilder
    • getPullRequestCommentsCount

      public int getPullRequestCommentsCount()
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
      Specified by:
      getPullRequestCommentsCount in interface ListPullRequestCommentsResponseOrBuilder
    • getPullRequestComments

      public PullRequestComment getPullRequestComments(int index)
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
      Specified by:
      getPullRequestComments in interface ListPullRequestCommentsResponseOrBuilder
    • 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

      public ListPullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment value)
       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

      public ListPullRequestCommentsResponse.Builder clearPullRequestComments()
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
    • removePullRequestComments

      public ListPullRequestCommentsResponse.Builder removePullRequestComments(int index)
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
    • getPullRequestCommentsBuilder

      public PullRequestComment.Builder getPullRequestCommentsBuilder(int index)
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
    • getPullRequestCommentsOrBuilder

      public PullRequestCommentOrBuilder getPullRequestCommentsOrBuilder(int index)
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
      Specified by:
      getPullRequestCommentsOrBuilder in interface ListPullRequestCommentsResponseOrBuilder
    • getPullRequestCommentsOrBuilderList

      public List<? extends PullRequestCommentOrBuilder> getPullRequestCommentsOrBuilderList()
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
      Specified by:
      getPullRequestCommentsOrBuilderList in interface ListPullRequestCommentsResponseOrBuilder
    • addPullRequestCommentsBuilder

      public PullRequestComment.Builder addPullRequestCommentsBuilder()
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
    • addPullRequestCommentsBuilder

      public PullRequestComment.Builder addPullRequestCommentsBuilder(int index)
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
    • getPullRequestCommentsBuilderList

      public List<PullRequestComment.Builder> getPullRequestCommentsBuilderList()
       The list of pull request comments.
       
      repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
    • 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;
      Specified by:
      getNextPageToken in interface ListPullRequestCommentsResponseOrBuilder
      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:
      getNextPageTokenBytes in interface ListPullRequestCommentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      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;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • 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:
      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.