public static final class BatchUpdateIntentsRequest.Builder extends 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchUpdateIntentsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchUpdateIntentsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchUpdateIntentsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder mergeFrom(BatchUpdateIntentsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchUpdateIntentsRequest.Builder>
IOException
public BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
getIntentBatchCase
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder clearIntentBatch()
public String getParent()
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface BatchUpdateIntentsRequestOrBuilder
public ByteString getParentBytes()
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setParent(String value)
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public BatchUpdateIntentsRequest.Builder clearParent()
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BatchUpdateIntentsRequest.Builder setParentBytes(ByteString value)
Required. The name of the agent to update or create intents in. Supported formats: - `projects/<Project ID>/agent` - `projects/<Project ID>/locations/<Location ID>/agent`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public boolean hasIntentBatchUri()
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;
hasIntentBatchUri
in interface BatchUpdateIntentsRequestOrBuilder
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 BatchUpdateIntentsRequestOrBuilder
public 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 BatchUpdateIntentsRequestOrBuilder
public 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;
value
- The intentBatchUri to set.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(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;
value
- The bytes for intentBatchUri to set.public boolean hasIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
hasIntentBatchInline
in interface BatchUpdateIntentsRequestOrBuilder
public IntentBatch getIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2beta1.IntentBatch intent_batch_inline = 3;
getIntentBatchInline
in interface BatchUpdateIntentsRequestOrBuilder
public 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 BatchUpdateIntentsRequestOrBuilder
public String getLanguageCode()
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
getLanguageCode
in interface BatchUpdateIntentsRequestOrBuilder
public ByteString getLanguageCodeBytes()
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
getLanguageCodeBytes
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setLanguageCode(String value)
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The languageCode to set.public BatchUpdateIntentsRequest.Builder clearLanguageCode()
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
public BatchUpdateIntentsRequest.Builder setLanguageCodeBytes(ByteString value)
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for languageCode to set.public boolean hasUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
hasUpdateMask
in interface BatchUpdateIntentsRequestOrBuilder
public FieldMask getUpdateMask()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
getUpdateMask
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setUpdateMask(FieldMask value)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
public BatchUpdateIntentsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
public BatchUpdateIntentsRequest.Builder mergeUpdateMask(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 FieldMask.Builder getUpdateMaskBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 5;
getUpdateMaskOrBuilder
in interface BatchUpdateIntentsRequestOrBuilder
public int getIntentViewValue()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
getIntentViewValue
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setIntentViewValue(int value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
value
- The enum numeric value on the wire for intentView to set.public IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
getIntentView
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setIntentView(IntentView value)
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2beta1.IntentView intent_view = 6;
value
- The intentView to set.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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public final BatchUpdateIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.