- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IntentBatch.BuilderImplements
IntentBatchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
IntentBatch.Builder |
addIntents(Intent value)
public IntentBatch.Builder addIntents(Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
value |
Intent |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
addIntents(Intent.Builder builderForValue)
public IntentBatch.Builder addIntents(Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Intent.Builder |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
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 | |
---|---|
Name | Description |
index |
int |
value |
Intent |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Intent.Builder |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
addIntentsBuilder()
public Intent.Builder addIntentsBuilder()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns | |
---|---|
Type | Description |
Intent.Builder |
addIntentsBuilder(int index)
public Intent.Builder addIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Intent.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IntentBatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
build()
public IntentBatch build()
Returns | |
---|---|
Type | Description |
IntentBatch |
buildPartial()
public IntentBatch buildPartial()
Returns | |
---|---|
Type | Description |
IntentBatch |
clear()
public IntentBatch.Builder clear()
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
clearField(Descriptors.FieldDescriptor field)
public IntentBatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
clearIntents()
public IntentBatch.Builder clearIntents()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IntentBatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
clone()
public IntentBatch.Builder clone()
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
getDefaultInstanceForType()
public IntentBatch getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IntentBatch |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIntents(int index)
public Intent getIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Intent.Builder |
getIntentsBuilderList()
public List<Intent.Builder> getIntentsBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getIntentsCount()
public int getIntentsCount()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns | |
---|---|
Type | Description |
int |
getIntentsList()
public List<Intent> getIntentsList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Returns | |
---|---|
Type | Description |
List<Intent> |
getIntentsOrBuilder(int index)
public IntentOrBuilder getIntentsOrBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
IntentOrBuilder |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(IntentBatch other)
public IntentBatch.Builder mergeFrom(IntentBatch other)
Parameter | |
---|---|
Name | Description |
other |
IntentBatch |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IntentBatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public IntentBatch.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IntentBatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
removeIntents(int index)
public IntentBatch.Builder removeIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public IntentBatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
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 | |
---|---|
Name | Description |
index |
int |
value |
Intent |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Intent.Builder |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IntentBatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final IntentBatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IntentBatch.Builder |