Send feedback
Class IntentBatch.Builder (4.8.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.8.5 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]