- 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 ExportToolsRequest.Builder extends GeneratedMessageV3.Builder<ExportToolsRequest.Builder> implements ExportToolsRequestOrBuilder
The request message for Tools.ExportTools.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportToolsRequest.BuilderImplements
ExportToolsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTools(Iterable<String> values)
public ExportToolsRequest.Builder addAllTools(Iterable<String> values)
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The tools to add. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportToolsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
addTools(String value)
public ExportToolsRequest.Builder addTools(String value)
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The tools to add. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
addToolsBytes(ByteString value)
public ExportToolsRequest.Builder addToolsBytes(ByteString value)
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the tools to add. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
build()
public ExportToolsRequest build()
Returns | |
---|---|
Type | Description |
ExportToolsRequest |
buildPartial()
public ExportToolsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ExportToolsRequest |
clear()
public ExportToolsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
clearDataFormat()
public ExportToolsRequest.Builder clearDataFormat()
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
clearDestination()
public ExportToolsRequest.Builder clearDestination()
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExportToolsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportToolsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
clearParent()
public ExportToolsRequest.Builder clearParent()
Required. The agent to export tools from.
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 |
ExportToolsRequest.Builder |
This builder for chaining. |
clearTools()
public ExportToolsRequest.Builder clearTools()
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
clearToolsContentInline()
public ExportToolsRequest.Builder clearToolsContentInline()
Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
clearToolsUri()
public ExportToolsRequest.Builder clearToolsUri()
Optional. The Google Cloud
Storage URI to export the tools
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
clone()
public ExportToolsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
getDataFormat()
public ExportToolsRequest.DataFormat getDataFormat()
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportToolsRequest.DataFormat |
The dataFormat. |
getDataFormatValue()
public int getDataFormatValue()
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for dataFormat. |
getDefaultInstanceForType()
public ExportToolsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExportToolsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationCase()
public ExportToolsRequest.DestinationCase getDestinationCase()
Returns | |
---|---|
Type | Description |
ExportToolsRequest.DestinationCase |
getParent()
public String getParent()
Required. The agent to export tools from.
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 export tools from.
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. |
getTools(int index)
public String getTools(int index)
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The tools at the given index. |
getToolsBytes(int index)
public ByteString getToolsBytes(int index)
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the tools at the given index. |
getToolsContentInline()
public boolean getToolsContentInline()
Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The toolsContentInline. |
getToolsCount()
public int getToolsCount()
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of tools. |
getToolsList()
public ProtocolStringList getToolsList()
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the tools. |
getToolsUri()
public String getToolsUri()
Optional. The Google Cloud
Storage URI to export the tools
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The toolsUri. |
getToolsUriBytes()
public ByteString getToolsUriBytes()
Optional. The Google Cloud
Storage URI to export the tools
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for toolsUri. |
hasToolsContentInline()
public boolean hasToolsContentInline()
Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the toolsContentInline field is set. |
hasToolsUri()
public boolean hasToolsUri()
Optional. The Google Cloud
Storage URI to export the tools
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the toolsUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExportToolsRequest other)
public ExportToolsRequest.Builder mergeFrom(ExportToolsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ExportToolsRequest |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportToolsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportToolsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportToolsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
setDataFormat(ExportToolsRequest.DataFormat value)
public ExportToolsRequest.Builder setDataFormat(ExportToolsRequest.DataFormat value)
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExportToolsRequest.DataFormat The dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
setDataFormatValue(int value)
public ExportToolsRequest.Builder setDataFormatValue(int value)
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.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 |
ExportToolsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportToolsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
setParent(String value)
public ExportToolsRequest.Builder setParent(String value)
Required. The agent to export tools from.
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 |
ExportToolsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ExportToolsRequest.Builder setParentBytes(ByteString value)
Required. The agent to export tools from.
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 |
ExportToolsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportToolsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
setTools(int index, String value)
public ExportToolsRequest.Builder setTools(int index, String value)
Required. The name of the tools to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/tools/<Tool ID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The tools to set. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
setToolsContentInline(boolean value)
public ExportToolsRequest.Builder setToolsContentInline(boolean value)
Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The toolsContentInline to set. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
setToolsUri(String value)
public ExportToolsRequest.Builder setToolsUri(String value)
Optional. The Google Cloud
Storage URI to export the tools
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The toolsUri to set. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
setToolsUriBytes(ByteString value)
public ExportToolsRequest.Builder setToolsUriBytes(ByteString value)
Optional. The Google Cloud
Storage URI to export the tools
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for toolsUri to set. |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportToolsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportToolsRequest.Builder |