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.v2.IntentBatch
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllIntents(Iterable<? extends Intent> values)
public IntentBatch.Builder addAllIntents(Iterable<? extends Intent> values)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Intent>
|
addIntents(Intent value)
public IntentBatch.Builder addIntents(Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter |
Name |
Description |
value |
Intent
|
addIntents(Intent.Builder builderForValue)
public IntentBatch.Builder addIntents(Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
addIntents(int index, Intent value)
public IntentBatch.Builder addIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Intent
|
addIntents(int index, Intent.Builder builderForValue)
public IntentBatch.Builder addIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
addIntentsBuilder()
public Intent.Builder addIntentsBuilder()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
addIntentsBuilder(int index)
public Intent.Builder addIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IntentBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IntentBatch build()
buildPartial()
public IntentBatch buildPartial()
clear()
public IntentBatch.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public IntentBatch.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIntents()
public IntentBatch.Builder clearIntents()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public IntentBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public IntentBatch.Builder clone()
Overrides
getDefaultInstanceForType()
public IntentBatch getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
Type |
Description |
Intent |
|
getIntentsBuilder(int index)
public Intent.Builder getIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
getIntentsBuilderList()
public List<Intent.Builder> getIntentsBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
getIntentsCount()
public int getIntentsCount()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Returns |
Type |
Description |
int |
|
getIntentsList()
public List<Intent> getIntentsList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
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
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IntentBatch other)
public IntentBatch.Builder mergeFrom(IntentBatch other)
public IntentBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IntentBatch.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntentBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeIntents(int index)
public IntentBatch.Builder removeIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public IntentBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIntents(int index, Intent value)
public IntentBatch.Builder setIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Intent
|
setIntents(int index, Intent.Builder builderForValue)
public IntentBatch.Builder setIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntentBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IntentBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides