- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 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 ExportIntentsRequest.Builder extends GeneratedMessageV3.Builder<ExportIntentsRequest.Builder> implements ExportIntentsRequestOrBuilder
The request message for Intents.ExportIntents.
Protobuf type google.cloud.dialogflow.cx.v3.ExportIntentsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportIntentsRequest.BuilderImplements
ExportIntentsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllIntents(Iterable<String> values)
public ExportIntentsRequest.Builder addAllIntents(Iterable<String> values)
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The intents to add. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
addIntents(String value)
public ExportIntentsRequest.Builder addIntents(String value)
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The intents to add. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
addIntentsBytes(ByteString value)
public ExportIntentsRequest.Builder addIntentsBytes(ByteString value)
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the intents to add. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportIntentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
build()
public ExportIntentsRequest build()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest |
buildPartial()
public ExportIntentsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest |
clear()
public ExportIntentsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
clearDataFormat()
public ExportIntentsRequest.Builder clearDataFormat()
Optional. The data format of the exported intents. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
clearDestination()
public ExportIntentsRequest.Builder clearDestination()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExportIntentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
clearIntents()
public ExportIntentsRequest.Builder clearIntents()
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
clearIntentsContentInline()
public ExportIntentsRequest.Builder clearIntentsContentInline()
Optional. The option to return the serialized intents inline.
bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
clearIntentsUri()
public ExportIntentsRequest.Builder clearIntentsUri()
Optional. The Google Cloud
Storage URI to export the
intents to. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportIntentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
clearParent()
public ExportIntentsRequest.Builder clearParent()
Required. The name of the parent agent to export intents.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
clone()
public ExportIntentsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
getDataFormat()
public ExportIntentsRequest.DataFormat getDataFormat()
Optional. The data format of the exported intents. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.DataFormat |
The dataFormat. |
getDataFormatValue()
public int getDataFormatValue()
Optional. The data format of the exported intents. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for dataFormat. |
getDefaultInstanceForType()
public ExportIntentsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationCase()
public ExportIntentsRequest.DestinationCase getDestinationCase()
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.DestinationCase |
getIntents(int index)
public String getIntents(int index)
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The intents at the given index. |
getIntentsBytes(int index)
public ByteString getIntentsBytes(int index)
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the intents at the given index. |
getIntentsContentInline()
public boolean getIntentsContentInline()
Optional. The option to return the serialized intents inline.
bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The intentsContentInline. |
getIntentsCount()
public int getIntentsCount()
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The count of intents. |
getIntentsList()
public ProtocolStringList getIntentsList()
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the intents. |
getIntentsUri()
public String getIntentsUri()
Optional. The Google Cloud
Storage URI to export the
intents to. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The intentsUri. |
getIntentsUriBytes()
public ByteString getIntentsUriBytes()
Optional. The Google Cloud
Storage URI to export the
intents to. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for intentsUri. |
getParent()
public String getParent()
Required. The name of the parent agent to export intents.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the parent agent to export intents.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasIntentsContentInline()
public boolean hasIntentsContentInline()
Optional. The option to return the serialized intents inline.
bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the intentsContentInline field is set. |
hasIntentsUri()
public boolean hasIntentsUri()
Optional. The Google Cloud
Storage URI to export the
intents to. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
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(ExportIntentsRequest other)
public ExportIntentsRequest.Builder mergeFrom(ExportIntentsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ExportIntentsRequest |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportIntentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportIntentsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportIntentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
setDataFormat(ExportIntentsRequest.DataFormat value)
public ExportIntentsRequest.Builder setDataFormat(ExportIntentsRequest.DataFormat value)
Optional. The data format of the exported intents. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExportIntentsRequest.DataFormat The dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setDataFormatValue(int value)
public ExportIntentsRequest.Builder setDataFormatValue(int value)
Optional. The data format of the exported intents. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportIntentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
setIntents(int index, String value)
public ExportIntentsRequest.Builder setIntents(int index, String value)
Required. The name of the intents to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
repeated string intents = 2 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The intents to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setIntentsContentInline(boolean value)
public ExportIntentsRequest.Builder setIntentsContentInline(boolean value)
Optional. The option to return the serialized intents inline.
bool intents_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The intentsContentInline to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setIntentsUri(String value)
public ExportIntentsRequest.Builder setIntentsUri(String value)
Optional. The Google Cloud
Storage URI to export the
intents to. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The intentsUri to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setIntentsUriBytes(ByteString value)
public ExportIntentsRequest.Builder setIntentsUriBytes(ByteString value)
Optional. The Google Cloud
Storage URI to export the
intents to. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.
string intents_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for intentsUri to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ExportIntentsRequest.Builder setParent(String value)
Required. The name of the parent agent to export intents.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ExportIntentsRequest.Builder setParentBytes(ByteString value)
Required. The name of the parent agent to export intents.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
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 |
ExportIntentsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportIntentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportIntentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportIntentsRequest.Builder |