Interface ExportToolsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExportToolsRequest,ExportToolsRequest.Builder
@Generated
public interface ExportToolsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Required.com.google.protobuf.ByteStringRequired.getTools(int index) Required.com.google.protobuf.ByteStringgetToolsBytes(int index) Required.booleanOptional.intRequired.Required.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. The agent to export tools from. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The agent to export tools from. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getToolsList
Required. The name of the tools to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the tools.
-
getToolsCount
int getToolsCount()Required. The name of the tools to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The count of tools.
-
getTools
Required. The name of the tools to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The tools at the given index.
-
getToolsBytes
com.google.protobuf.ByteString getToolsBytes(int index) Required. The name of the tools to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tools at the given index.
-
hasToolsUri
boolean hasToolsUri()Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the toolsUri field is set.
-
getToolsUri
String getToolsUri()Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The toolsUri.
-
getToolsUriBytes
com.google.protobuf.ByteString getToolsUriBytes()Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for toolsUri.
-
hasToolsContentInline
boolean hasToolsContentInline()Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the toolsContentInline field is set.
-
getToolsContentInline
boolean getToolsContentInline()Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The toolsContentInline.
-
getDataFormatValue
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:
- The enum numeric value on the wire for dataFormat.
-
getDataFormat
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:
- The dataFormat.
-
getDestinationCase
ExportToolsRequest.DestinationCase getDestinationCase()
-