Class IntentBatch (4.4.0)

public final class IntentBatch extends GeneratedMessageV3 implements IntentBatchOrBuilder

This message is a wrapper around a collection of intents.

Protobuf type google.cloud.dialogflow.v2beta1.IntentBatch

Fields

INTENTS_FIELD_NUMBER

public static final int INTENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static IntentBatch getDefaultInstance()
Returns
TypeDescription
IntentBatch

getDefaultInstanceForType()

public IntentBatch getDefaultInstanceForType()
Returns
TypeDescription
IntentBatch

getDescriptor()

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

getIntents(int index)

public Intent getIntents(int index)

A collection of intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent

getIntentsCount()

public int getIntentsCount()

A collection of intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
TypeDescription
int

getIntentsList()

public List<Intent> getIntentsList()

A collection of intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
TypeDescription
List<Intent>

getIntentsOrBuilder(int index)

public IntentOrBuilder getIntentsOrBuilder(int index)

A collection of intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
IntentOrBuilder

getIntentsOrBuilderList()

public List<? extends IntentOrBuilder> getIntentsOrBuilderList()

A collection of intents.

repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.IntentOrBuilder>

getParserForType()

public Parser<IntentBatch> getParserForType()
Returns
TypeDescription
Parser<IntentBatch>
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

newBuilder()

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

newBuilder(IntentBatch prototype)

public static IntentBatch.Builder newBuilder(IntentBatch prototype)
Parameter
NameDescription
prototypeIntentBatch
Returns
TypeDescription
IntentBatch.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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