com.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequestOrBuilder 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/agent.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.cx.v3beta1;
public interface RestoreAgentRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The name of the agent to restore into.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
*
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Required. The name of the agent to restore into.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
*
*
*
* string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
* to restore agent from. The format of this URI must be
* `gs://<bucket-name>/<object-name>`.
*
* Dialogflow performs a read operation for the Cloud Storage object
* on the caller's behalf, so your request authentication must
* have read permissions for the object. For more information, see
* [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
*
*
* string agent_uri = 2;
*
* @return Whether the agentUri field is set.
*/
boolean hasAgentUri();
/**
*
*
*
* The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
* to restore agent from. The format of this URI must be
* `gs://<bucket-name>/<object-name>`.
*
* Dialogflow performs a read operation for the Cloud Storage object
* on the caller's behalf, so your request authentication must
* have read permissions for the object. For more information, see
* [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
*
*
* string agent_uri = 2;
*
* @return The agentUri.
*/
java.lang.String getAgentUri();
/**
*
*
*
* The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
* to restore agent from. The format of this URI must be
* `gs://<bucket-name>/<object-name>`.
*
* Dialogflow performs a read operation for the Cloud Storage object
* on the caller's behalf, so your request authentication must
* have read permissions for the object. For more information, see
* [Dialogflow access
* control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
*
*
* string agent_uri = 2;
*
* @return The bytes for agentUri.
*/
com.google.protobuf.ByteString getAgentUriBytes();
/**
*
*
*
* Uncompressed raw byte content for agent.
*
*
* bytes agent_content = 3;
*
* @return Whether the agentContent field is set.
*/
boolean hasAgentContent();
/**
*
*
*
* Uncompressed raw byte content for agent.
*
*
* bytes agent_content = 3;
*
* @return The agentContent.
*/
com.google.protobuf.ByteString getAgentContent();
/**
*
*
*
* Setting for restoring from a git branch
*
*
* .google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6;
*
* @return Whether the gitSource field is set.
*/
boolean hasGitSource();
/**
*
*
*
* Setting for restoring from a git branch
*
*
* .google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6;
*
* @return The gitSource.
*/
com.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource getGitSource();
/**
*
*
*
* Setting for restoring from a git branch
*
*
* .google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6;
*/
com.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSourceOrBuilder
getGitSourceOrBuilder();
/**
*
*
*
* Agent restore mode. If not specified, `KEEP` is assumed.
*
*
* .google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption restore_option = 5;
*
*
* @return The enum numeric value on the wire for restoreOption.
*/
int getRestoreOptionValue();
/**
*
*
*
* Agent restore mode. If not specified, `KEEP` is assumed.
*
*
* .google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption restore_option = 5;
*
*
* @return The restoreOption.
*/
com.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption getRestoreOption();
com.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.AgentCase getAgentCase();
}