Class ListPagesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListPagesResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ListPagesResponse.Builder
All Implemented Interfaces:
ListPagesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListPagesResponse

public static final class ListPagesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPagesResponse.Builder> implements ListPagesResponseOrBuilder
 The response message for
 [Pages.ListPages][google.cloud.dialogflow.cx.v3beta1.Pages.ListPages].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListPagesResponse
  • 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<ListPagesResponse.Builder>
    • clear

      public ListPagesResponse.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<ListPagesResponse.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<ListPagesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListPagesResponse.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<ListPagesResponse.Builder>
    • mergeFrom

      public ListPagesResponse.Builder mergeFrom(ListPagesResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListPagesResponse.Builder>
    • mergeFrom

      public ListPagesResponse.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<ListPagesResponse.Builder>
      Throws:
      IOException
    • getPagesList

      public List<Page> getPagesList()
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
      Specified by:
      getPagesList in interface ListPagesResponseOrBuilder
    • getPagesCount

      public int getPagesCount()
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
      Specified by:
      getPagesCount in interface ListPagesResponseOrBuilder
    • getPages

      public Page getPages(int index)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
      Specified by:
      getPages in interface ListPagesResponseOrBuilder
    • setPages

      public ListPagesResponse.Builder setPages(int index, Page value)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • setPages

      public ListPagesResponse.Builder setPages(int index, Page.Builder builderForValue)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • addPages

      public ListPagesResponse.Builder addPages(Page value)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • addPages

      public ListPagesResponse.Builder addPages(int index, Page value)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • addPages

      public ListPagesResponse.Builder addPages(Page.Builder builderForValue)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • addPages

      public ListPagesResponse.Builder addPages(int index, Page.Builder builderForValue)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • addAllPages

      public ListPagesResponse.Builder addAllPages(Iterable<? extends Page> values)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • clearPages

      public ListPagesResponse.Builder clearPages()
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • removePages

      public ListPagesResponse.Builder removePages(int index)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • getPagesBuilder

      public Page.Builder getPagesBuilder(int index)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • getPagesOrBuilder

      public PageOrBuilder getPagesOrBuilder(int index)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
      Specified by:
      getPagesOrBuilder in interface ListPagesResponseOrBuilder
    • getPagesOrBuilderList

      public List<? extends PageOrBuilder> getPagesOrBuilderList()
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
      Specified by:
      getPagesOrBuilderList in interface ListPagesResponseOrBuilder
    • addPagesBuilder

      public Page.Builder addPagesBuilder()
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • addPagesBuilder

      public Page.Builder addPagesBuilder(int index)
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • getPagesBuilderList

      public List<Page.Builder> getPagesBuilderList()
       The list of pages. There will be a maximum number of items returned based
       on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListPagesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListPagesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListPagesResponse.Builder setNextPageToken(String value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListPagesResponse.Builder clearNextPageToken()
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListPagesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to retrieve the next page of results, or empty if there are no more
       results in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.