Package com.google.cloud.dialogflow.v2
Class IntentBatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
- com.google.cloud.dialogflow.v2.IntentBatch.Builder
-
- All Implemented Interfaces:
IntentBatchOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IntentBatch
public static final class IntentBatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder> implements IntentBatchOrBuilder
This message is a wrapper around a collection of intents.
Protobuf typegoogle.cloud.dialogflow.v2.IntentBatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntentBatch.BuilderaddAllIntents(Iterable<? extends Intent> values)A collection of intents.IntentBatch.BuilderaddIntents(int index, Intent value)A collection of intents.IntentBatch.BuilderaddIntents(int index, Intent.Builder builderForValue)A collection of intents.IntentBatch.BuilderaddIntents(Intent value)A collection of intents.IntentBatch.BuilderaddIntents(Intent.Builder builderForValue)A collection of intents.Intent.BuilderaddIntentsBuilder()A collection of intents.Intent.BuilderaddIntentsBuilder(int index)A collection of intents.IntentBatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IntentBatchbuild()IntentBatchbuildPartial()IntentBatch.Builderclear()IntentBatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IntentBatch.BuilderclearIntents()A collection of intents.IntentBatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IntentBatch.Builderclone()IntentBatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()IntentgetIntents(int index)A collection of intents.Intent.BuildergetIntentsBuilder(int index)A collection of intents.List<Intent.Builder>getIntentsBuilderList()A collection of intents.intgetIntentsCount()A collection of intents.List<Intent>getIntentsList()A collection of intents.IntentOrBuildergetIntentsOrBuilder(int index)A collection of intents.List<? extends IntentOrBuilder>getIntentsOrBuilderList()A collection of intents.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IntentBatch.BuildermergeFrom(IntentBatch other)IntentBatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IntentBatch.BuildermergeFrom(com.google.protobuf.Message other)IntentBatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IntentBatch.BuilderremoveIntents(int index)A collection of intents.IntentBatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IntentBatch.BuildersetIntents(int index, Intent value)A collection of intents.IntentBatch.BuildersetIntents(int index, Intent.Builder builderForValue)A collection of intents.IntentBatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IntentBatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
clear
public IntentBatch.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
getDefaultInstanceForType
public IntentBatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IntentBatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IntentBatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IntentBatch.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
setField
public IntentBatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
clearField
public IntentBatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
clearOneof
public IntentBatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
setRepeatedField
public IntentBatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
addRepeatedField
public IntentBatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
mergeFrom
public IntentBatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntentBatch.Builder>
-
mergeFrom
public IntentBatch.Builder mergeFrom(IntentBatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
mergeFrom
public IntentBatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntentBatch.Builder>- Throws:
IOException
-
getIntentsList
public List<Intent> getIntentsList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;- Specified by:
getIntentsListin interfaceIntentBatchOrBuilder
-
getIntentsCount
public int getIntentsCount()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;- Specified by:
getIntentsCountin interfaceIntentBatchOrBuilder
-
getIntents
public Intent getIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;- Specified by:
getIntentsin interfaceIntentBatchOrBuilder
-
setIntents
public IntentBatch.Builder setIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
setIntents
public IntentBatch.Builder setIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
addIntents
public IntentBatch.Builder addIntents(Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
addIntents
public IntentBatch.Builder addIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
addIntents
public IntentBatch.Builder addIntents(Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
addIntents
public IntentBatch.Builder addIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
addAllIntents
public IntentBatch.Builder addAllIntents(Iterable<? extends Intent> values)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
clearIntents
public IntentBatch.Builder clearIntents()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
removeIntents
public IntentBatch.Builder removeIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
getIntentsBuilder
public Intent.Builder getIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
getIntentsOrBuilder
public IntentOrBuilder getIntentsOrBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;- Specified by:
getIntentsOrBuilderin interfaceIntentBatchOrBuilder
-
getIntentsOrBuilderList
public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;- Specified by:
getIntentsOrBuilderListin interfaceIntentBatchOrBuilder
-
addIntentsBuilder
public Intent.Builder addIntentsBuilder()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
addIntentsBuilder
public Intent.Builder addIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
getIntentsBuilderList
public List<Intent.Builder> getIntentsBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2.Intent intents = 1;
-
setUnknownFields
public final IntentBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
mergeUnknownFields
public final IntentBatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>
-
-