public static final class BatchUpdateIntentsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder> implements BatchUpdateIntentsRequestOrBuilder
The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].Protobuf type
google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest| Modifier and Type | Method and Description |
|---|---|
BatchUpdateIntentsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchUpdateIntentsRequest |
build() |
BatchUpdateIntentsRequest |
buildPartial() |
BatchUpdateIntentsRequest.Builder |
clear() |
BatchUpdateIntentsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchUpdateIntentsRequest.Builder |
clearIntentBatch() |
BatchUpdateIntentsRequest.Builder |
clearIntentBatchInline()
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
clearIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
BatchUpdateIntentsRequest.Builder |
clearIntentView()
Optional.
|
BatchUpdateIntentsRequest.Builder |
clearLanguageCode()
Optional.
|
BatchUpdateIntentsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchUpdateIntentsRequest.Builder |
clearParent()
Required.
|
BatchUpdateIntentsRequest.Builder |
clearUpdateMask()
Optional.
|
BatchUpdateIntentsRequest.Builder |
clone() |
BatchUpdateIntentsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BatchUpdateIntentsRequest.IntentBatchCase |
getIntentBatchCase() |
IntentBatch |
getIntentBatchInline()
The collection of intents to update or create.
|
IntentBatch.Builder |
getIntentBatchInlineBuilder()
The collection of intents to update or create.
|
IntentBatchOrBuilder |
getIntentBatchInlineOrBuilder()
The collection of intents to update or create.
|
String |
getIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
com.google.protobuf.ByteString |
getIntentBatchUriBytes()
The URI to a Google Cloud Storage file containing intents to update or
create.
|
IntentView |
getIntentView()
Optional.
|
int |
getIntentViewValue()
Optional.
|
String |
getLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
boolean |
hasIntentBatchInline()
The collection of intents to update or create.
|
boolean |
hasUpdateMask()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchUpdateIntentsRequest.Builder |
mergeFrom(BatchUpdateIntentsRequest other) |
BatchUpdateIntentsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchUpdateIntentsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchUpdateIntentsRequest.Builder |
mergeIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchUpdateIntentsRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchUpdateIntentsRequest.Builder |
setIntentBatchInline(IntentBatch.Builder builderForValue)
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
setIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
|
BatchUpdateIntentsRequest.Builder |
setIntentBatchUri(String value)
The URI to a Google Cloud Storage file containing intents to update or
create.
|
BatchUpdateIntentsRequest.Builder |
setIntentBatchUriBytes(com.google.protobuf.ByteString value)
The URI to a Google Cloud Storage file containing intents to update or
create.
|
BatchUpdateIntentsRequest.Builder |
setIntentView(IntentView value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setIntentViewValue(int value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setLanguageCode(String value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setParent(String value)
Required.
|
BatchUpdateIntentsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
BatchUpdateIntentsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchUpdateIntentsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchUpdateIntentsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional.
|
BatchUpdateIntentsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
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<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchUpdateIntentsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchUpdateIntentsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchUpdateIntentsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.Builder mergeFrom(BatchUpdateIntentsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public BatchUpdateIntentsRequest.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<BatchUpdateIntentsRequest.Builder>IOExceptionpublic BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
getIntentBatchCase in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder clearIntentBatch()
public String getParent()
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1;getParent in interface BatchUpdateIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1;getParentBytes in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setParent(String value)
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1;public BatchUpdateIntentsRequest.Builder clearParent()
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1;public BatchUpdateIntentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1;public String getIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;getIntentBatchUri in interface BatchUpdateIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getIntentBatchUriBytes()
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;getIntentBatchUriBytes in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentBatchUri(String value)
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;public BatchUpdateIntentsRequest.Builder clearIntentBatchUri()
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;public BatchUpdateIntentsRequest.Builder setIntentBatchUriBytes(com.google.protobuf.ByteString value)
The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with "gs://".
string intent_batch_uri = 2;public boolean hasIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;hasIntentBatchInline in interface BatchUpdateIntentsRequestOrBuilderpublic IntentBatch getIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;getIntentBatchInline in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch.Builder builderForValue)
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public BatchUpdateIntentsRequest.Builder mergeIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public BatchUpdateIntentsRequest.Builder clearIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public IntentBatch.Builder getIntentBatchInlineBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;public IntentBatchOrBuilder getIntentBatchInlineOrBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;getIntentBatchInlineOrBuilder in interface BatchUpdateIntentsRequestOrBuilderpublic String getLanguageCode()
Optional. The language of training phrases, parameters and rich messages defined in `intents`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;getLanguageCode in interface BatchUpdateIntentsRequestOrBuilderpublic com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The language of training phrases, parameters and rich messages defined in `intents`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;getLanguageCodeBytes in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setLanguageCode(String value)
Optional. The language of training phrases, parameters and rich messages defined in `intents`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;public BatchUpdateIntentsRequest.Builder clearLanguageCode()
Optional. The language of training phrases, parameters and rich messages defined in `intents`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;public BatchUpdateIntentsRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The language of training phrases, parameters and rich messages defined in `intents`. If not specified, the agent's default language is used. [More than a dozen languages](https://dialogflow.com/docs/reference/language) are supported. Note: languages must be enabled in the agent, before they can be used.
string language_code = 4;public boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;hasUpdateMask in interface BatchUpdateIntentsRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;getUpdateMask in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateIntentsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateIntentsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public BatchUpdateIntentsRequest.Builder clearUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;getUpdateMaskOrBuilder in interface BatchUpdateIntentsRequestOrBuilderpublic int getIntentViewValue()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;getIntentViewValue in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentViewValue(int value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;public IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;getIntentView in interface BatchUpdateIntentsRequestOrBuilderpublic BatchUpdateIntentsRequest.Builder setIntentView(IntentView value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;public BatchUpdateIntentsRequest.Builder clearIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;public final BatchUpdateIntentsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>public final BatchUpdateIntentsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.