Interface ExportToolsRequestOrBuilder (0.58.0)

public interface ExportToolsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataFormat()

public abstract 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 abstract 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.

getDestinationCase()

public abstract ExportToolsRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportToolsRequest.DestinationCase

getParent()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the tools.

getToolsUri()

public abstract 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 abstract 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 abstract 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 abstract 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.