public static final class IntentBatch.Builder extends GeneratedMessageV3.Builder<IntentBatch.Builder> implements IntentBatchOrBuilder
This message is a wrapper around a collection of intents.
Protobuf type google.cloud.dialogflow.v2beta1.IntentBatch
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllIntents(Iterable<? extends Intent> values)
public IntentBatch.Builder addAllIntents(Iterable<? extends Intent> values)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Intent>
|
Returns
addIntents(Intent value)
public IntentBatch.Builder addIntents(Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
addIntents(Intent.Builder builderForValue)
public IntentBatch.Builder addIntents(Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
addIntents(int index, Intent value)
public IntentBatch.Builder addIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
addIntents(int index, Intent.Builder builderForValue)
public IntentBatch.Builder addIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
addIntentsBuilder()
public Intent.Builder addIntentsBuilder()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
addIntentsBuilder(int index)
public Intent.Builder addIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IntentBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public IntentBatch build()
Returns
buildPartial()
public IntentBatch buildPartial()
Returns
clear()
public IntentBatch.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public IntentBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntents()
public IntentBatch.Builder clearIntents()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public IntentBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public IntentBatch.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public IntentBatch getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIntents(int index)
public Intent getIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
getIntentsBuilder(int index)
public Intent.Builder getIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
getIntentsBuilderList()
public List<Intent.Builder> getIntentsBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
getIntentsCount()
public int getIntentsCount()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
getIntentsList()
public List<Intent> getIntentsList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
getIntentsOrBuilder(int index)
public IntentOrBuilder getIntentsOrBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
getIntentsOrBuilderList()
public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.IntentOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(IntentBatch other)
public IntentBatch.Builder mergeFrom(IntentBatch other)
Parameter
Returns
public IntentBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IntentBatch.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntentBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeIntents(int index)
public IntentBatch.Builder removeIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public IntentBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIntents(int index, Intent value)
public IntentBatch.Builder setIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
setIntents(int index, Intent.Builder builderForValue)
public IntentBatch.Builder setIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntentBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IntentBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides