Class ListIntentsResponse.Builder

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

public static final class ListIntentsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListIntentsResponse.Builder> implements ListIntentsResponseOrBuilder
 The response message for
 [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
 
Protobuf type google.cloud.dialogflow.v2.ListIntentsResponse
  • 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<ListIntentsResponse.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<ListIntentsResponse.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<ListIntentsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListIntentsResponse.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<ListIntentsResponse.Builder>
      Throws:
      IOException
    • getIntentsList

      public List<Intent> getIntentsList()
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
      Specified by:
      getIntentsList in interface ListIntentsResponseOrBuilder
    • getIntentsCount

      public int getIntentsCount()
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
      Specified by:
      getIntentsCount in interface ListIntentsResponseOrBuilder
    • getIntents

      public Intent getIntents(int index)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
      Specified by:
      getIntents in interface ListIntentsResponseOrBuilder
    • setIntents

      public ListIntentsResponse.Builder setIntents(int index, Intent value)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • setIntents

      public ListIntentsResponse.Builder setIntents(int index, Intent.Builder builderForValue)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • addIntents

      public ListIntentsResponse.Builder addIntents(Intent value)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • addIntents

      public ListIntentsResponse.Builder addIntents(int index, Intent value)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • addIntents

      public ListIntentsResponse.Builder addIntents(Intent.Builder builderForValue)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • addIntents

      public ListIntentsResponse.Builder addIntents(int index, Intent.Builder builderForValue)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • addAllIntents

      public ListIntentsResponse.Builder addAllIntents(Iterable<? extends Intent> values)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • clearIntents

      public ListIntentsResponse.Builder clearIntents()
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • removeIntents

      public ListIntentsResponse.Builder removeIntents(int index)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • getIntentsBuilder

      public Intent.Builder getIntentsBuilder(int index)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • getIntentsOrBuilder

      public IntentOrBuilder getIntentsOrBuilder(int index)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
      Specified by:
      getIntentsOrBuilder in interface ListIntentsResponseOrBuilder
    • getIntentsOrBuilderList

      public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
      Specified by:
      getIntentsOrBuilderList in interface ListIntentsResponseOrBuilder
    • addIntentsBuilder

      public Intent.Builder addIntentsBuilder()
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • addIntentsBuilder

      public Intent.Builder addIntentsBuilder(int index)
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 1;
    • getIntentsBuilderList

      public List<Intent.Builder> getIntentsBuilderList()
       The list of agent intents. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 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 ListIntentsResponseOrBuilder
      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 ListIntentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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