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 type
google.cloud.dialogflow.v2beta1.IntentBatch| Modifier and Type | Method and Description |
|---|---|
IntentBatch.Builder |
addAllIntents(Iterable<? extends Intent> values)
A collection of intents.
|
IntentBatch.Builder |
addIntents(Intent.Builder builderForValue)
A collection of intents.
|
IntentBatch.Builder |
addIntents(Intent value)
A collection of intents.
|
IntentBatch.Builder |
addIntents(int index,
Intent.Builder builderForValue)
A collection of intents.
|
IntentBatch.Builder |
addIntents(int index,
Intent value)
A collection of intents.
|
Intent.Builder |
addIntentsBuilder()
A collection of intents.
|
Intent.Builder |
addIntentsBuilder(int index)
A collection of intents.
|
IntentBatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IntentBatch |
build() |
IntentBatch |
buildPartial() |
IntentBatch.Builder |
clear() |
IntentBatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IntentBatch.Builder |
clearIntents()
A collection of intents.
|
IntentBatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IntentBatch.Builder |
clone() |
IntentBatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Intent |
getIntents(int index)
A collection of intents.
|
Intent.Builder |
getIntentsBuilder(int index)
A collection of intents.
|
List<Intent.Builder> |
getIntentsBuilderList()
A collection of intents.
|
int |
getIntentsCount()
A collection of intents.
|
List<Intent> |
getIntentsList()
A collection of intents.
|
IntentOrBuilder |
getIntentsOrBuilder(int index)
A collection of intents.
|
List<? extends IntentOrBuilder> |
getIntentsOrBuilderList()
A collection of intents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IntentBatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IntentBatch.Builder |
mergeFrom(IntentBatch other) |
IntentBatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
IntentBatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IntentBatch.Builder |
removeIntents(int index)
A collection of intents.
|
IntentBatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IntentBatch.Builder |
setIntents(int index,
Intent.Builder builderForValue)
A collection of intents.
|
IntentBatch.Builder |
setIntents(int index,
Intent value)
A collection of intents.
|
IntentBatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IntentBatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IntentBatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IntentBatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IntentBatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IntentBatch.Builder>public IntentBatch.Builder mergeFrom(IntentBatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public IntentBatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IntentBatch.Builder>IOExceptionpublic List<Intent> getIntentsList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;getIntentsList in interface IntentBatchOrBuilderpublic int getIntentsCount()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;getIntentsCount in interface IntentBatchOrBuilderpublic Intent getIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;getIntents in interface IntentBatchOrBuilderpublic IntentBatch.Builder setIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder setIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder addIntents(Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder addIntents(int index, Intent value)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder addIntents(Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder addIntents(int index, Intent.Builder builderForValue)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder addAllIntents(Iterable<? extends Intent> values)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder clearIntents()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentBatch.Builder removeIntents(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public Intent.Builder getIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public IntentOrBuilder getIntentsOrBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;getIntentsOrBuilder in interface IntentBatchOrBuilderpublic List<? extends IntentOrBuilder> getIntentsOrBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;getIntentsOrBuilderList in interface IntentBatchOrBuilderpublic Intent.Builder addIntentsBuilder()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public Intent.Builder addIntentsBuilder(int index)
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public List<Intent.Builder> getIntentsBuilderList()
A collection of intents.
repeated .google.cloud.dialogflow.v2beta1.Intent intents = 1;public final IntentBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>public final IntentBatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IntentBatch.Builder>Copyright © 2019 Google LLC. All rights reserved.