Class EntityTypeBatch.Builder

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

public static final class EntityTypeBatch.Builder extends com.google.protobuf.GeneratedMessage.Builder<EntityTypeBatch.Builder> implements EntityTypeBatchOrBuilder
 This message is a wrapper around a collection of entity types.
 
Protobuf type google.cloud.dialogflow.v2.EntityTypeBatch
  • 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<EntityTypeBatch.Builder>
    • clear

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

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

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

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

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

      public EntityTypeBatch.Builder mergeFrom(EntityTypeBatch other)
    • isInitialized

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

      public EntityTypeBatch.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<EntityTypeBatch.Builder>
      Throws:
      IOException
    • getEntityTypesList

      public List<EntityType> getEntityTypesList()
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
      Specified by:
      getEntityTypesList in interface EntityTypeBatchOrBuilder
    • getEntityTypesCount

      public int getEntityTypesCount()
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
      Specified by:
      getEntityTypesCount in interface EntityTypeBatchOrBuilder
    • getEntityTypes

      public EntityType getEntityTypes(int index)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
      Specified by:
      getEntityTypes in interface EntityTypeBatchOrBuilder
    • setEntityTypes

      public EntityTypeBatch.Builder setEntityTypes(int index, EntityType value)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • setEntityTypes

      public EntityTypeBatch.Builder setEntityTypes(int index, EntityType.Builder builderForValue)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • addEntityTypes

      public EntityTypeBatch.Builder addEntityTypes(EntityType value)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • addEntityTypes

      public EntityTypeBatch.Builder addEntityTypes(int index, EntityType value)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • addEntityTypes

      public EntityTypeBatch.Builder addEntityTypes(EntityType.Builder builderForValue)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • addEntityTypes

      public EntityTypeBatch.Builder addEntityTypes(int index, EntityType.Builder builderForValue)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • addAllEntityTypes

      public EntityTypeBatch.Builder addAllEntityTypes(Iterable<? extends EntityType> values)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • clearEntityTypes

      public EntityTypeBatch.Builder clearEntityTypes()
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • removeEntityTypes

      public EntityTypeBatch.Builder removeEntityTypes(int index)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • getEntityTypesBuilder

      public EntityType.Builder getEntityTypesBuilder(int index)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • getEntityTypesOrBuilder

      public EntityTypeOrBuilder getEntityTypesOrBuilder(int index)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
      Specified by:
      getEntityTypesOrBuilder in interface EntityTypeBatchOrBuilder
    • getEntityTypesOrBuilderList

      public List<? extends EntityTypeOrBuilder> getEntityTypesOrBuilderList()
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
      Specified by:
      getEntityTypesOrBuilderList in interface EntityTypeBatchOrBuilder
    • addEntityTypesBuilder

      public EntityType.Builder addEntityTypesBuilder()
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • addEntityTypesBuilder

      public EntityType.Builder addEntityTypesBuilder(int index)
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
    • getEntityTypesBuilderList

      public List<EntityType.Builder> getEntityTypesBuilderList()
       A collection of entity types.
       
      repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;