Class ListSessionEntityTypesResponse.Builder

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

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

      public ListSessionEntityTypesResponse 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 ListSessionEntityTypesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ListSessionEntityTypesResponse.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<ListSessionEntityTypesResponse.Builder>
      Throws:
      IOException
    • getSessionEntityTypesList

      public List<SessionEntityType> getSessionEntityTypesList()
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
      Specified by:
      getSessionEntityTypesList in interface ListSessionEntityTypesResponseOrBuilder
    • getSessionEntityTypesCount

      public int getSessionEntityTypesCount()
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
      Specified by:
      getSessionEntityTypesCount in interface ListSessionEntityTypesResponseOrBuilder
    • getSessionEntityTypes

      public SessionEntityType getSessionEntityTypes(int index)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
      Specified by:
      getSessionEntityTypes in interface ListSessionEntityTypesResponseOrBuilder
    • setSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder setSessionEntityTypes(int index, SessionEntityType value)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • setSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder setSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • addSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(SessionEntityType value)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • addSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(int index, SessionEntityType value)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • addSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(SessionEntityType.Builder builderForValue)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • addSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder addSessionEntityTypes(int index, SessionEntityType.Builder builderForValue)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • addAllSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder addAllSessionEntityTypes(Iterable<? extends SessionEntityType> values)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • clearSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder clearSessionEntityTypes()
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • removeSessionEntityTypes

      public ListSessionEntityTypesResponse.Builder removeSessionEntityTypes(int index)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • getSessionEntityTypesBuilder

      public SessionEntityType.Builder getSessionEntityTypesBuilder(int index)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • getSessionEntityTypesOrBuilder

      public SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
      Specified by:
      getSessionEntityTypesOrBuilder in interface ListSessionEntityTypesResponseOrBuilder
    • getSessionEntityTypesOrBuilderList

      public List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
      Specified by:
      getSessionEntityTypesOrBuilderList in interface ListSessionEntityTypesResponseOrBuilder
    • addSessionEntityTypesBuilder

      public SessionEntityType.Builder addSessionEntityTypesBuilder()
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • addSessionEntityTypesBuilder

      public SessionEntityType.Builder addSessionEntityTypesBuilder(int index)
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;
    • getSessionEntityTypesBuilderList

      public List<SessionEntityType.Builder> getSessionEntityTypesBuilderList()
       The list of session entity types. There will be a maximum number of items
       returned based on the page_size field in the request.
       
      repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 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 ListSessionEntityTypesResponseOrBuilder
      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 ListSessionEntityTypesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

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