public static final class BatchUpdateIntentsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder> implements BatchUpdateIntentsRequestOrBuilder
The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents].Protobuf type
google.cloud.dialogflow.v2.BatchUpdateIntentsRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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, java.lang.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, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchUpdateIntentsRequest.Builder>
public BatchUpdateIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.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 java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchUpdateIntentsRequest.Builder>
java.io.IOException
public BatchUpdateIntentsRequest.IntentBatchCase getIntentBatchCase()
getIntentBatchCase
in interface BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder clearIntentBatch()
public java.lang.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 BatchUpdateIntentsRequestOrBuilder
public 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 BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setParent(java.lang.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(ByteString value)
Required. The name of the agent to update or create intents in. Format: `projects/<Project ID>/agent`.
string parent = 1;
public java.lang.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(java.lang.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(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.v2.IntentBatch intent_batch_inline = 3;
hasIntentBatchInline
in interface BatchUpdateIntentsRequestOrBuilder
public IntentBatch getIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.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.v2.IntentBatch intent_batch_inline = 3;
public BatchUpdateIntentsRequest.Builder setIntentBatchInline(IntentBatch.Builder builderForValue)
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
public BatchUpdateIntentsRequest.Builder mergeIntentBatchInline(IntentBatch value)
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
public BatchUpdateIntentsRequest.Builder clearIntentBatchInline()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
public IntentBatch.Builder getIntentBatchInlineBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
public IntentBatchOrBuilder getIntentBatchInlineOrBuilder()
The collection of intents to update or create.
.google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3;
getIntentBatchInlineOrBuilder
in interface BatchUpdateIntentsRequestOrBuilder
public java.lang.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 BatchUpdateIntentsRequestOrBuilder
public 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 BatchUpdateIntentsRequestOrBuilder
public BatchUpdateIntentsRequest.Builder setLanguageCode(java.lang.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(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 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.v2.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.v2.IntentView intent_view = 6;
public IntentView getIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.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.v2.IntentView intent_view = 6;
public BatchUpdateIntentsRequest.Builder clearIntentView()
Optional. The resource view to apply to the returned intent.
.google.cloud.dialogflow.v2.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>