com.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3beta1/tool.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.cx.v3beta1;
public interface ExportToolsRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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) = { ... }
*
*
* @return The parent.
*/
java.lang.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) = { ... }
*
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
/**
*
*
*
* 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) = { ... }
*
*
* @return A list containing the tools.
*/
java.util.List 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) = { ... }
*
*
* @return The count of tools.
*/
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) = { ... }
*
*
* @param index The index of the element to return.
* @return The tools at the given index.
*/
java.lang.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) = { ... }
*
*
* @param index The index of the value to return.
* @return The bytes of the tools at the given index.
*/
com.google.protobuf.ByteString getToolsBytes(int index);
/**
*
*
*
* 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];
*
* @return Whether the toolsUri field is set.
*/
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];
*
* @return The toolsUri.
*/
java.lang.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];
*
* @return The bytes for toolsUri.
*/
com.google.protobuf.ByteString getToolsUriBytes();
/**
*
*
*
* Optional. The option to return the serialized tools inline.
*
*
* bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the toolsContentInline field is set.
*/
boolean hasToolsContentInline();
/**
*
*
*
* Optional. The option to return the serialized tools inline.
*
*
* bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The toolsContentInline.
*/
boolean getToolsContentInline();
/**
*
*
*
* 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];
*
*
* @return The enum numeric value on the wire for dataFormat.
*/
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];
*
*
* @return The dataFormat.
*/
com.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat getDataFormat();
com.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DestinationCase getDestinationCase();
}