Class ImportIntentsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportIntentsRequest.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.Builder
- All Implemented Interfaces:
ImportIntentsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportIntentsRequest
public static final class ImportIntentsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportIntentsRequest.Builder>
implements ImportIntentsRequestOrBuilder
The request message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents].Protobuf type
google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Uncompressed byte content of intents.The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from.Merge option for importing intents.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorUncompressed byte content of intents.Uncompressed byte content of intents.Uncompressed byte content of intents.The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from.com.google.protobuf.ByteStringThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from.Merge option for importing intents.intMerge option for importing intents.Required.com.google.protobuf.ByteStringRequired.booleanUncompressed byte content of intents.booleanThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ImportIntentsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIntentsContent(InlineSource value) Uncompressed byte content of intents.setIntentsContent(InlineSource value) Uncompressed byte content of intents.setIntentsContent(InlineSource.Builder builderForValue) Uncompressed byte content of intents.setIntentsUri(String value) The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from.setIntentsUriBytes(com.google.protobuf.ByteString value) The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from.Merge option for importing intents.setMergeOptionValue(int value) Merge option for importing intents.Required.setParentBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsRequest.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.GeneratedMessage.Builder<ImportIntentsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportIntentsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportIntentsRequest.Builder>
-
mergeFrom
public ImportIntentsRequest.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<ImportIntentsRequest.Builder>- Throws:
IOException
-
getIntentsCase
- Specified by:
getIntentsCasein interfaceImportIntentsRequestOrBuilder
-
clearIntents
-
getParent
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceImportIntentsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceImportIntentsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setParentBytes
Required. The agent to import the intents into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasIntentsUri
public boolean hasIntentsUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;- Specified by:
hasIntentsUriin interfaceImportIntentsRequestOrBuilder- Returns:
- Whether the intentsUri field is set.
-
getIntentsUri
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;- Specified by:
getIntentsUriin interfaceImportIntentsRequestOrBuilder- Returns:
- The intentsUri.
-
getIntentsUriBytes
public com.google.protobuf.ByteString getIntentsUriBytes()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;- Specified by:
getIntentsUriBytesin interfaceImportIntentsRequestOrBuilder- Returns:
- The bytes for intentsUri.
-
setIntentsUri
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;- Parameters:
value- The intentsUri to set.- Returns:
- This builder for chaining.
-
clearIntentsUri
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;- Returns:
- This builder for chaining.
-
setIntentsUriBytes
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import intents from. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string intents_uri = 2;- Parameters:
value- The bytes for intentsUri to set.- Returns:
- This builder for chaining.
-
hasIntentsContent
public boolean hasIntentsContent()Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3;- Specified by:
hasIntentsContentin interfaceImportIntentsRequestOrBuilder- Returns:
- Whether the intentsContent field is set.
-
getIntentsContent
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3;- Specified by:
getIntentsContentin interfaceImportIntentsRequestOrBuilder- Returns:
- The intentsContent.
-
setIntentsContent
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3; -
setIntentsContent
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3; -
mergeIntentsContent
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3; -
clearIntentsContent
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3; -
getIntentsContentBuilder
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3; -
getIntentsContentOrBuilder
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3beta1.InlineSource intents_content = 3;- Specified by:
getIntentsContentOrBuilderin interfaceImportIntentsRequestOrBuilder
-
getMergeOptionValue
public int getMergeOptionValue()Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;- Specified by:
getMergeOptionValuein interfaceImportIntentsRequestOrBuilder- Returns:
- The enum numeric value on the wire for mergeOption.
-
setMergeOptionValue
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;- Parameters:
value- The enum numeric value on the wire for mergeOption to set.- Returns:
- This builder for chaining.
-
getMergeOption
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;- Specified by:
getMergeOptionin interfaceImportIntentsRequestOrBuilder- Returns:
- The mergeOption.
-
setMergeOption
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;- Parameters:
value- The mergeOption to set.- Returns:
- This builder for chaining.
-
clearMergeOption
Merge option for importing intents. If not specified, `REJECT` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption merge_option = 4;- Returns:
- This builder for chaining.
-