public final class EntityTypeBatch extends GeneratedMessageV3 implements EntityTypeBatchOrBuilder
This message is a wrapper around a collection of entity types.
Protobuf type google.cloud.dialogflow.v2.EntityTypeBatch
Static Fields
ENTITY_TYPES_FIELD_NUMBER
public static final int ENTITY_TYPES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static EntityTypeBatch getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static EntityTypeBatch.Builder newBuilder()
Returns
newBuilder(EntityTypeBatch prototype)
public static EntityTypeBatch.Builder newBuilder(EntityTypeBatch prototype)
Parameter
Returns
public static EntityTypeBatch parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EntityTypeBatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EntityTypeBatch parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntityTypeBatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EntityTypeBatch parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntityTypeBatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EntityTypeBatch parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EntityTypeBatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EntityTypeBatch parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EntityTypeBatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EntityTypeBatch parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntityTypeBatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EntityTypeBatch> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public EntityTypeBatch getDefaultInstanceForType()
Returns
getEntityTypes(int index)
public EntityType getEntityTypes(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getEntityTypesCount()
public int getEntityTypesCount()
A collection of entity types.
repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
Returns
getEntityTypesList()
public List<EntityType> getEntityTypesList()
A collection of entity types.
repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
Returns
getEntityTypesOrBuilder(int index)
public EntityTypeOrBuilder getEntityTypesOrBuilder(int index)
A collection of entity types.
repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getEntityTypesOrBuilderList()
public List<? extends EntityTypeOrBuilder> getEntityTypesOrBuilderList()
A collection of entity types.
repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.EntityTypeOrBuilder> |
|
getParserForType()
public Parser<EntityTypeBatch> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public EntityTypeBatch.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntityTypeBatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public EntityTypeBatch.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions