- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ImportIntentsRequest.Builder extends GeneratedMessageV3.Builder<ImportIntentsRequest.Builder> implements ImportIntentsRequestOrBuilder
The request message for Intents.ImportIntents.
Protobuf type google.cloud.dialogflow.cx.v3.ImportIntentsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportIntentsRequest.BuilderImplements
ImportIntentsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
build()
public ImportIntentsRequest build()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest |
buildPartial()
public ImportIntentsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest |
clear()
public ImportIntentsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
clearIntents()
public ImportIntentsRequest.Builder clearIntents()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
clearIntentsContent()
public ImportIntentsRequest.Builder clearIntentsContent()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
clearIntentsUri()
public ImportIntentsRequest.Builder clearIntentsUri()
The Google Cloud Storage 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.
string intents_uri = 2;
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
clearMergeOption()
public ImportIntentsRequest.Builder clearMergeOption()
Merge option for importing intents. If not specified, REJECT
is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
clearParent()
public ImportIntentsRequest.Builder clearParent()
Required. The agent to import the intents into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
clone()
public ImportIntentsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
getDefaultInstanceForType()
public ImportIntentsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIntentsCase()
public ImportIntentsRequest.IntentsCase getIntentsCase()
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.IntentsCase |
getIntentsContent()
public InlineSource getIntentsContent()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Returns | |
---|---|
Type | Description |
InlineSource |
The intentsContent. |
getIntentsContentBuilder()
public InlineSource.Builder getIntentsContentBuilder()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Returns | |
---|---|
Type | Description |
InlineSource.Builder |
getIntentsContentOrBuilder()
public InlineSourceOrBuilder getIntentsContentOrBuilder()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Returns | |
---|---|
Type | Description |
InlineSourceOrBuilder |
getIntentsUri()
public String getIntentsUri()
The Google Cloud Storage 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.
string intents_uri = 2;
Returns | |
---|---|
Type | Description |
String |
The intentsUri. |
getIntentsUriBytes()
public ByteString getIntentsUriBytes()
The Google Cloud Storage 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.
string intents_uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for intentsUri. |
getMergeOption()
public ImportIntentsRequest.MergeOption getMergeOption()
Merge option for importing intents. If not specified, REJECT
is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.MergeOption |
The mergeOption. |
getMergeOptionValue()
public int getMergeOptionValue()
Merge option for importing intents. If not specified, REJECT
is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for mergeOption. |
getParent()
public String getParent()
Required. The agent to import the intents into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The agent to import the intents into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasIntentsContent()
public boolean hasIntentsContent()
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the intentsContent field is set. |
hasIntentsUri()
public boolean hasIntentsUri()
The Google Cloud Storage 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.
string intents_uri = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the intentsUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportIntentsRequest other)
public ImportIntentsRequest.Builder mergeFrom(ImportIntentsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportIntentsRequest |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportIntentsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
mergeIntentsContent(InlineSource value)
public ImportIntentsRequest.Builder mergeIntentsContent(InlineSource value)
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Parameter | |
---|---|
Name | Description |
value |
InlineSource |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
setIntentsContent(InlineSource value)
public ImportIntentsRequest.Builder setIntentsContent(InlineSource value)
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Parameter | |
---|---|
Name | Description |
value |
InlineSource |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
setIntentsContent(InlineSource.Builder builderForValue)
public ImportIntentsRequest.Builder setIntentsContent(InlineSource.Builder builderForValue)
Uncompressed byte content of intents.
.google.cloud.dialogflow.cx.v3.InlineSource intents_content = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
InlineSource.Builder |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
setIntentsUri(String value)
public ImportIntentsRequest.Builder setIntentsUri(String value)
The Google Cloud Storage 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.
string intents_uri = 2;
Parameter | |
---|---|
Name | Description |
value |
String The intentsUri to set. |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
setIntentsUriBytes(ByteString value)
public ImportIntentsRequest.Builder setIntentsUriBytes(ByteString value)
The Google Cloud Storage 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.
string intents_uri = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for intentsUri to set. |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
setMergeOption(ImportIntentsRequest.MergeOption value)
public ImportIntentsRequest.Builder setMergeOption(ImportIntentsRequest.MergeOption value)
Merge option for importing intents. If not specified, REJECT
is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
Parameter | |
---|---|
Name | Description |
value |
ImportIntentsRequest.MergeOption The mergeOption to set. |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
setMergeOptionValue(int value)
public ImportIntentsRequest.Builder setMergeOptionValue(int value)
Merge option for importing intents. If not specified, REJECT
is assumed.
.google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption merge_option = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for mergeOption to set. |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ImportIntentsRequest.Builder setParent(String value)
Required. The agent to import the intents into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportIntentsRequest.Builder setParentBytes(ByteString value)
Required. The agent to import the intents into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportIntentsRequest.Builder |