All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.cx.v3.GenerativeSettingsProto Maven / Gradle / Ivy

/*
 * 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/v3/generative_settings.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.cx.v3;

public final class GenerativeSettingsProto {
  private GenerativeSettingsProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_PromptTemplate_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_PromptTemplate_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_KnowledgeConnectorSettings_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_KnowledgeConnectorSettings_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n7google/cloud/dialogflow/cx/v3/generati"
          + "ve_settings.proto\022\035google.cloud.dialogfl"
          + "ow.cx.v3\032\031google/api/resource.proto\0323goo"
          + "gle/cloud/dialogflow/cx/v3/safety_settin"
          + "gs.proto\"\373\006\n\022GenerativeSettings\022\014\n\004name\030"
          + "\005 \001(\t\022]\n\021fallback_settings\030\001 \001(\0132B.googl"
          + "e.cloud.dialogflow.cx.v3.GenerativeSetti"
          + "ngs.FallbackSettings\022Q\n\032generative_safet"
          + "y_settings\030\003 \001(\0132-.google.cloud.dialogfl"
          + "ow.cx.v3.SafetySettings\022r\n\034knowledge_con"
          + "nector_settings\030\007 \001(\0132L.google.cloud.dia"
          + "logflow.cx.v3.GenerativeSettings.Knowled"
          + "geConnectorSettings\022\025\n\rlanguage_code\030\004 \001"
          + "(\t\032\345\001\n\020FallbackSettings\022\027\n\017selected_prom"
          + "pt\030\003 \001(\t\022k\n\020prompt_templates\030\004 \003(\0132Q.goo"
          + "gle.cloud.dialogflow.cx.v3.GenerativeSet"
          + "tings.FallbackSettings.PromptTemplate\032K\n"
          + "\016PromptTemplate\022\024\n\014display_name\030\001 \001(\t\022\023\n"
          + "\013prompt_text\030\002 \001(\t\022\016\n\006frozen\030\003 \001(\010\032\255\001\n\032K"
          + "nowledgeConnectorSettings\022\020\n\010business\030\001 "
          + "\001(\t\022\r\n\005agent\030\002 \001(\t\022\026\n\016agent_identity\030\003 \001"
          + "(\t\022\034\n\024business_description\030\004 \001(\t\022\023\n\013agen"
          + "t_scope\030\005 \001(\t\022#\n\033disable_data_store_fall"
          + "back\030\010 \001(\010:\201\001\352A~\n1dialogflow.googleapis."
          + "com/AgentGenerativeSettings\022Iprojects/{p"
          + "roject}/locations/{location}/agents/{age"
          + "nt}/generativeSettingsB\275\001\n!com.google.cl"
          + "oud.dialogflow.cx.v3B\027GenerativeSettings"
          + "ProtoP\001Z1cloud.google.com/go/dialogflow/"
          + "cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.Clou"
          + "d.Dialogflow.Cx.V3\352\002!Google::Cloud::Dial"
          + "ogflow::CX::V3b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.ResourceProto.getDescriptor(),
              com.google.cloud.dialogflow.cx.v3.SafetySettingsProto.getDescriptor(),
            });
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_descriptor,
            new java.lang.String[] {
              "Name",
              "FallbackSettings",
              "GenerativeSafetySettings",
              "KnowledgeConnectorSettings",
              "LanguageCode",
            });
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_descriptor =
        internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_descriptor,
            new java.lang.String[] {
              "SelectedPrompt", "PromptTemplates",
            });
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_PromptTemplate_descriptor =
        internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_PromptTemplate_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_FallbackSettings_PromptTemplate_descriptor,
            new java.lang.String[] {
              "DisplayName", "PromptText", "Frozen",
            });
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_KnowledgeConnectorSettings_descriptor =
        internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_descriptor
            .getNestedTypes()
            .get(1);
    internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_KnowledgeConnectorSettings_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_dialogflow_cx_v3_GenerativeSettings_KnowledgeConnectorSettings_descriptor,
            new java.lang.String[] {
              "Business",
              "Agent",
              "AgentIdentity",
              "BusinessDescription",
              "AgentScope",
              "DisableDataStoreFallback",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.ResourceProto.getDescriptor();
    com.google.cloud.dialogflow.cx.v3.SafetySettingsProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy