Class EntityTypeBatch (4.5.11)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntityTypeBatch getDefaultInstance()
Returns
TypeDescription
EntityTypeBatch

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EntityTypeBatch.Builder newBuilder()
Returns
TypeDescription
EntityTypeBatch.Builder

newBuilder(EntityTypeBatch prototype)

public static EntityTypeBatch.Builder newBuilder(EntityTypeBatch prototype)
Parameter
NameDescription
prototypeEntityTypeBatch
Returns
TypeDescription
EntityTypeBatch.Builder

parseDelimitedFrom(InputStream input)

public static EntityTypeBatch parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EntityTypeBatch parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityTypeBatch parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityTypeBatch parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EntityTypeBatch parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EntityTypeBatch parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeBatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeBatch
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EntityTypeBatch> parser()
Returns
TypeDescription
Parser<EntityTypeBatch>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EntityTypeBatch getDefaultInstanceForType()
Returns
TypeDescription
EntityTypeBatch

getEntityTypes(int index)

public EntityType getEntityTypes(int index)

A collection of entity types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityType

getEntityTypesCount()

public int getEntityTypesCount()

A collection of entity types.

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

Returns
TypeDescription
int

getEntityTypesList()

public List<EntityType> getEntityTypesList()

A collection of entity types.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EntityTypeOrBuilder

getEntityTypesOrBuilderList()

public List<? extends EntityTypeOrBuilder> getEntityTypesOrBuilderList()

A collection of entity types.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.EntityTypeOrBuilder>

getParserForType()

public Parser<EntityTypeBatch> getParserForType()
Returns
TypeDescription
Parser<EntityTypeBatch>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EntityTypeBatch.Builder newBuilderForType()
Returns
TypeDescription
EntityTypeBatch.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityTypeBatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EntityTypeBatch.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EntityTypeBatch.Builder toBuilder()
Returns
TypeDescription
EntityTypeBatch.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException