Class ListPlaybooksResponse.Builder

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

public static final class ListPlaybooksResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPlaybooksResponse.Builder> implements ListPlaybooksResponseOrBuilder
 The response message for
 [Playbooks.ListPlaybooks][google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListPlaybooksResponse
  • 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<ListPlaybooksResponse.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<ListPlaybooksResponse.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<ListPlaybooksResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListPlaybooksResponse.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<ListPlaybooksResponse.Builder>
      Throws:
      IOException
    • getPlaybooksList

      public List<Playbook> getPlaybooksList()
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
      Specified by:
      getPlaybooksList in interface ListPlaybooksResponseOrBuilder
    • getPlaybooksCount

      public int getPlaybooksCount()
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
      Specified by:
      getPlaybooksCount in interface ListPlaybooksResponseOrBuilder
    • getPlaybooks

      public Playbook getPlaybooks(int index)
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
      Specified by:
      getPlaybooks in interface ListPlaybooksResponseOrBuilder
    • setPlaybooks

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

      public ListPlaybooksResponse.Builder setPlaybooks(int index, Playbook.Builder builderForValue)
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
    • addPlaybooks

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

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

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

      public ListPlaybooksResponse.Builder addPlaybooks(int index, Playbook.Builder builderForValue)
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
    • addAllPlaybooks

      public ListPlaybooksResponse.Builder addAllPlaybooks(Iterable<? extends Playbook> values)
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
    • clearPlaybooks

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

      public ListPlaybooksResponse.Builder removePlaybooks(int index)
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
    • getPlaybooksBuilder

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

      public PlaybookOrBuilder getPlaybooksOrBuilder(int index)
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
      Specified by:
      getPlaybooksOrBuilder in interface ListPlaybooksResponseOrBuilder
    • getPlaybooksOrBuilderList

      public List<? extends PlaybookOrBuilder> getPlaybooksOrBuilderList()
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 1;
      Specified by:
      getPlaybooksOrBuilderList in interface ListPlaybooksResponseOrBuilder
    • addPlaybooksBuilder

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

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

      public List<Playbook.Builder> getPlaybooksBuilderList()
       The list of playbooks. There will be a maximum number of items returned
       based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Playbook playbooks = 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 ListPlaybooksResponseOrBuilder
      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 ListPlaybooksResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListPlaybooksResponse.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 ListPlaybooksResponse.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 ListPlaybooksResponse.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.