Class EntityTypeBatch (4.50.0)

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
Type Description
int

Static Methods

getDefaultInstance()

public static EntityTypeBatch getDefaultInstance()
Returns
Type Description
EntityTypeBatch

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EntityTypeBatch.Builder newBuilder()
Returns
Type Description
EntityTypeBatch.Builder

newBuilder(EntityTypeBatch prototype)

public static EntityTypeBatch.Builder newBuilder(EntityTypeBatch prototype)
Parameter
Name Description
prototype EntityTypeBatch
Returns
Type Description
EntityTypeBatch.Builder

parseDelimitedFrom(InputStream input)

public static EntityTypeBatch parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EntityTypeBatch parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityTypeBatch parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityTypeBatch parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EntityTypeBatch parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EntityTypeBatch parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntityTypeBatch
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EntityTypeBatch> parser()
Returns
Type Description
Parser<EntityTypeBatch>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EntityTypeBatch getDefaultInstanceForType()
Returns
Type Description
EntityTypeBatch

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
Type Description
EntityType

getEntityTypesCount()

public int getEntityTypesCount()

A collection of entity types.

repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;

Returns
Type Description
int

getEntityTypesList()

public List<EntityType> getEntityTypesList()

A collection of entity types.

repeated .google.cloud.dialogflow.v2.EntityType entity_types = 1;

Returns
Type Description
List<EntityType>

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
Type Description
EntityTypeOrBuilder

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
Type Description
Parser<EntityTypeBatch>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EntityTypeBatch.Builder newBuilderForType()
Returns
Type Description
EntityTypeBatch.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityTypeBatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntityTypeBatch.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EntityTypeBatch.Builder toBuilder()
Returns
Type Description
EntityTypeBatch.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException