public final class IntentBatch extends GeneratedMessageV3 implements IntentBatchOrBuilder
This message is a wrapper around a collection of intents.
Protobuf type google.cloud.dialogflow.v2.IntentBatch
Static Fields
INTENTS_FIELD_NUMBER
public static final int INTENTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IntentBatch getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IntentBatch.Builder newBuilder()
Returns
newBuilder(IntentBatch prototype)
public static IntentBatch.Builder newBuilder(IntentBatch prototype)
Parameter
Returns
public static IntentBatch parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IntentBatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IntentBatch parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IntentBatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IntentBatch parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IntentBatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IntentBatch parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IntentBatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IntentBatch parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IntentBatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IntentBatch parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IntentBatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IntentBatch> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public IntentBatch getDefaultInstanceForType()
Returns
getIntents(int index)
public Intent getIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIntentsCount()
public int getIntentsCount()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
getIntentsList()
public List<Intent> getIntentsList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
getIntentsOrBuilder(int index)
public IntentOrBuilder getIntentsOrBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIntentsOrBuilderList()
public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.IntentOrBuilder> |
|
getParserForType()
public Parser<IntentBatch> 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 IntentBatch.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IntentBatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IntentBatch.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions