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

com.google.cloud.vertexai.api.ContentProto Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
/*
 * 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/vertexai/v1/content.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.vertexai.api;

public final class ContentProto {
  private ContentProto() {}

  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_vertexai_v1_Content_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_Content_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_Part_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_Part_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_Blob_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_Blob_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_FileData_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_FileData_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_VideoMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_VideoMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GenerationConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GenerationConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_AutoRoutingMode_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_AutoRoutingMode_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_ManualRoutingMode_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_ManualRoutingMode_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_SafetySetting_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_SafetySetting_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_SafetyRating_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_SafetyRating_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_CitationMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_CitationMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_Citation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_Citation_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_Candidate_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_Candidate_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_Segment_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_Segment_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GroundingChunk_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GroundingChunk_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GroundingChunk_Web_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GroundingChunk_Web_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GroundingChunk_RetrievedContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GroundingChunk_RetrievedContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GroundingSupport_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GroundingSupport_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_GroundingMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_GroundingMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_vertexai_v1_SearchEntryPoint_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_vertexai_v1_SearchEntryPoint_fieldAccessorTable;

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

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

  static {
    java.lang.String[] descriptorData = {
      "\n&google/cloud/vertexai/v1/content.proto"
          + "\022\030google.cloud.vertexai.v1\032\037google/api/f"
          + "ield_behavior.proto\032&google/cloud/vertex"
          + "ai/v1/openapi.proto\032#google/cloud/vertex"
          + "ai/v1/tool.proto\032\036google/protobuf/durati"
          + "on.proto\032\026google/type/date.proto\"P\n\007Cont"
          + "ent\022\021\n\004role\030\001 \001(\tB\003\340A\001\0222\n\005parts\030\002 \003(\0132\036."
          + "google.cloud.vertexai.v1.PartB\003\340A\002\"\205\003\n\004P"
          + "art\022\023\n\004text\030\001 \001(\tB\003\340A\001H\000\022:\n\013inline_data\030"
          + "\002 \001(\0132\036.google.cloud.vertexai.v1.BlobB\003\340"
          + "A\001H\000\022<\n\tfile_data\030\003 \001(\0132\".google.cloud.v"
          + "ertexai.v1.FileDataB\003\340A\001H\000\022D\n\rfunction_c"
          + "all\030\005 \001(\0132&.google.cloud.vertexai.v1.Fun"
          + "ctionCallB\003\340A\001H\000\022L\n\021function_response\030\006 "
          + "\001(\0132*.google.cloud.vertexai.v1.FunctionR"
          + "esponseB\003\340A\001H\000\022F\n\016video_metadata\030\004 \001(\0132\'"
          + ".google.cloud.vertexai.v1.VideoMetadataB"
          + "\003\340A\001H\001B\006\n\004dataB\n\n\010metadata\"1\n\004Blob\022\026\n\tmi"
          + "me_type\030\001 \001(\tB\003\340A\002\022\021\n\004data\030\002 \001(\014B\003\340A\002\"9\n"
          + "\010FileData\022\026\n\tmime_type\030\001 \001(\tB\003\340A\002\022\025\n\010fil"
          + "e_uri\030\002 \001(\tB\003\340A\002\"y\n\rVideoMetadata\0224\n\014sta"
          + "rt_offset\030\001 \001(\0132\031.google.protobuf.Durati"
          + "onB\003\340A\001\0222\n\nend_offset\030\002 \001(\0132\031.google.pro"
          + "tobuf.DurationB\003\340A\001\"\323\t\n\020GenerationConfig"
          + "\022\035\n\013temperature\030\001 \001(\002B\003\340A\001H\000\210\001\001\022\027\n\005top_p"
          + "\030\002 \001(\002B\003\340A\001H\001\210\001\001\022\027\n\005top_k\030\003 \001(\002B\003\340A\001H\002\210\001"
          + "\001\022!\n\017candidate_count\030\004 \001(\005B\003\340A\001H\003\210\001\001\022#\n\021"
          + "max_output_tokens\030\005 \001(\005B\003\340A\001H\004\210\001\001\022\033\n\016sto"
          + "p_sequences\030\006 \003(\tB\003\340A\001\022\"\n\020presence_penal"
          + "ty\030\010 \001(\002B\003\340A\001H\005\210\001\001\022#\n\021frequency_penalty\030"
          + "\t \001(\002B\003\340A\001H\006\210\001\001\022\026\n\004seed\030\014 \001(\005B\003\340A\001H\007\210\001\001\022"
          + "\037\n\022response_mime_type\030\r \001(\tB\003\340A\001\022C\n\017resp"
          + "onse_schema\030\020 \001(\0132 .google.cloud.vertexa"
          + "i.v1.SchemaB\003\340A\001H\010\210\001\001\022Z\n\016routing_config\030"
          + "\021 \001(\01328.google.cloud.vertexai.v1.Generat"
          + "ionConfig.RoutingConfigB\003\340A\001H\t\210\001\001\032\274\004\n\rRo"
          + "utingConfig\022]\n\tauto_mode\030\001 \001(\0132H.google."
          + "cloud.vertexai.v1.GenerationConfig.Routi"
          + "ngConfig.AutoRoutingModeH\000\022a\n\013manual_mod"
          + "e\030\002 \001(\0132J.google.cloud.vertexai.v1.Gener"
          + "ationConfig.RoutingConfig.ManualRoutingM"
          + "odeH\000\032\231\002\n\017AutoRoutingMode\022\206\001\n\030model_rout"
          + "ing_preference\030\001 \001(\0162_.google.cloud.vert"
          + "exai.v1.GenerationConfig.RoutingConfig.A"
          + "utoRoutingMode.ModelRoutingPreferenceH\000\210"
          + "\001\001\"`\n\026ModelRoutingPreference\022\013\n\007UNKNOWN\020"
          + "\000\022\026\n\022PRIORITIZE_QUALITY\020\001\022\014\n\010BALANCED\020\002\022"
          + "\023\n\017PRIORITIZE_COST\020\003B\033\n\031_model_routing_p"
          + "reference\032;\n\021ManualRoutingMode\022\027\n\nmodel_"
          + "name\030\001 \001(\tH\000\210\001\001B\r\n\013_model_nameB\020\n\016routin"
          + "g_configB\016\n\014_temperatureB\010\n\006_top_pB\010\n\006_t"
          + "op_kB\022\n\020_candidate_countB\024\n\022_max_output_"
          + "tokensB\023\n\021_presence_penaltyB\024\n\022_frequenc"
          + "y_penaltyB\007\n\005_seedB\022\n\020_response_schemaB\021"
          + "\n\017_routing_config\"\345\003\n\rSafetySetting\022=\n\010c"
          + "ategory\030\001 \001(\0162&.google.cloud.vertexai.v1"
          + ".HarmCategoryB\003\340A\002\022R\n\tthreshold\030\002 \001(\0162:."
          + "google.cloud.vertexai.v1.SafetySetting.H"
          + "armBlockThresholdB\003\340A\002\022L\n\006method\030\004 \001(\01627"
          + ".google.cloud.vertexai.v1.SafetySetting."
          + "HarmBlockMethodB\003\340A\001\"\235\001\n\022HarmBlockThresh"
          + "old\022$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\020"
          + "\000\022\027\n\023BLOCK_LOW_AND_ABOVE\020\001\022\032\n\026BLOCK_MEDI"
          + "UM_AND_ABOVE\020\002\022\023\n\017BLOCK_ONLY_HIGH\020\003\022\016\n\nB"
          + "LOCK_NONE\020\004\022\007\n\003OFF\020\005\"S\n\017HarmBlockMethod\022"
          + "!\n\035HARM_BLOCK_METHOD_UNSPECIFIED\020\000\022\014\n\010SE"
          + "VERITY\020\001\022\017\n\013PROBABILITY\020\002\"\271\004\n\014SafetyRati"
          + "ng\022=\n\010category\030\001 \001(\0162&.google.cloud.vert"
          + "exai.v1.HarmCategoryB\003\340A\003\022P\n\013probability"
          + "\030\002 \001(\01626.google.cloud.vertexai.v1.Safety"
          + "Rating.HarmProbabilityB\003\340A\003\022\036\n\021probabili"
          + "ty_score\030\005 \001(\002B\003\340A\003\022J\n\010severity\030\006 \001(\01623."
          + "google.cloud.vertexai.v1.SafetyRating.Ha"
          + "rmSeverityB\003\340A\003\022\033\n\016severity_score\030\007 \001(\002B"
          + "\003\340A\003\022\024\n\007blocked\030\003 \001(\010B\003\340A\003\"b\n\017HarmProbab"
          + "ility\022 \n\034HARM_PROBABILITY_UNSPECIFIED\020\000\022"
          + "\016\n\nNEGLIGIBLE\020\001\022\007\n\003LOW\020\002\022\n\n\006MEDIUM\020\003\022\010\n\004"
          + "HIGH\020\004\"\224\001\n\014HarmSeverity\022\035\n\031HARM_SEVERITY"
          + "_UNSPECIFIED\020\000\022\034\n\030HARM_SEVERITY_NEGLIGIB"
          + "LE\020\001\022\025\n\021HARM_SEVERITY_LOW\020\002\022\030\n\024HARM_SEVE"
          + "RITY_MEDIUM\020\003\022\026\n\022HARM_SEVERITY_HIGH\020\004\"N\n"
          + "\020CitationMetadata\022:\n\tcitations\030\001 \003(\0132\".g"
          + "oogle.cloud.vertexai.v1.CitationB\003\340A\003\"\252\001"
          + "\n\010Citation\022\030\n\013start_index\030\001 \001(\005B\003\340A\003\022\026\n\t"
          + "end_index\030\002 \001(\005B\003\340A\003\022\020\n\003uri\030\003 \001(\tB\003\340A\003\022\022"
          + "\n\005title\030\004 \001(\tB\003\340A\003\022\024\n\007license\030\005 \001(\tB\003\340A\003"
          + "\0220\n\020publication_date\030\006 \001(\0132\021.google.type"
          + ".DateB\003\340A\003\"\250\005\n\tCandidate\022\022\n\005index\030\001 \001(\005B"
          + "\003\340A\003\0227\n\007content\030\002 \001(\0132!.google.cloud.ver"
          + "texai.v1.ContentB\003\340A\003\022\022\n\005score\030\010 \001(\001B\003\340A"
          + "\003\022\031\n\014avg_logprobs\030\t \001(\001B\003\340A\003\022L\n\rfinish_r"
          + "eason\030\003 \001(\01620.google.cloud.vertexai.v1.C"
          + "andidate.FinishReasonB\003\340A\003\022C\n\016safety_rat"
          + "ings\030\004 \003(\0132&.google.cloud.vertexai.v1.Sa"
          + "fetyRatingB\003\340A\003\022 \n\016finish_message\030\005 \001(\tB"
          + "\003\340A\003H\000\210\001\001\022J\n\021citation_metadata\030\006 \001(\0132*.g"
          + "oogle.cloud.vertexai.v1.CitationMetadata"
          + "B\003\340A\003\022L\n\022grounding_metadata\030\007 \001(\0132+.goog"
          + "le.cloud.vertexai.v1.GroundingMetadataB\003"
          + "\340A\003\"\274\001\n\014FinishReason\022\035\n\031FINISH_REASON_UN"
          + "SPECIFIED\020\000\022\010\n\004STOP\020\001\022\016\n\nMAX_TOKENS\020\002\022\n\n"
          + "\006SAFETY\020\003\022\016\n\nRECITATION\020\004\022\t\n\005OTHER\020\005\022\r\n\t"
          + "BLOCKLIST\020\006\022\026\n\022PROHIBITED_CONTENT\020\007\022\010\n\004S"
          + "PII\020\010\022\033\n\027MALFORMED_FUNCTION_CALL\020\tB\021\n\017_f"
          + "inish_message\"g\n\007Segment\022\027\n\npart_index\030\001"
          + " \001(\005B\003\340A\003\022\030\n\013start_index\030\002 \001(\005B\003\340A\003\022\026\n\te"
          + "nd_index\030\003 \001(\005B\003\340A\003\022\021\n\004text\030\004 \001(\tB\003\340A\003\"\276"
          + "\002\n\016GroundingChunk\022;\n\003web\030\001 \001(\0132,.google."
          + "cloud.vertexai.v1.GroundingChunk.WebH\000\022V"
          + "\n\021retrieved_context\030\002 \001(\01329.google.cloud"
          + ".vertexai.v1.GroundingChunk.RetrievedCon"
          + "textH\000\032=\n\003Web\022\020\n\003uri\030\001 \001(\tH\000\210\001\001\022\022\n\005title"
          + "\030\002 \001(\tH\001\210\001\001B\006\n\004_uriB\010\n\006_title\032J\n\020Retriev"
          + "edContext\022\020\n\003uri\030\001 \001(\tH\000\210\001\001\022\022\n\005title\030\002 \001"
          + "(\tH\001\210\001\001B\006\n\004_uriB\010\n\006_titleB\014\n\nchunk_type\""
          + "\223\001\n\020GroundingSupport\0227\n\007segment\030\001 \001(\0132!."
          + "google.cloud.vertexai.v1.SegmentH\000\210\001\001\022\037\n"
          + "\027grounding_chunk_indices\030\002 \003(\005\022\031\n\021confid"
          + "ence_scores\030\003 \003(\002B\n\n\010_segment\"\256\002\n\021Ground"
          + "ingMetadata\022\037\n\022web_search_queries\030\001 \003(\tB"
          + "\003\340A\001\022P\n\022search_entry_point\030\004 \001(\0132*.googl"
          + "e.cloud.vertexai.v1.SearchEntryPointB\003\340A"
          + "\001H\000\210\001\001\022B\n\020grounding_chunks\030\005 \003(\0132(.googl"
          + "e.cloud.vertexai.v1.GroundingChunk\022K\n\022gr"
          + "ounding_supports\030\006 \003(\0132*.google.cloud.ve"
          + "rtexai.v1.GroundingSupportB\003\340A\001B\025\n\023_sear"
          + "ch_entry_point\"H\n\020SearchEntryPoint\022\035\n\020re"
          + "ndered_content\030\001 \001(\tB\003\340A\001\022\025\n\010sdk_blob\030\002 "
          + "\001(\014B\003\340A\001*\264\001\n\014HarmCategory\022\035\n\031HARM_CATEGO"
          + "RY_UNSPECIFIED\020\000\022\035\n\031HARM_CATEGORY_HATE_S"
          + "PEECH\020\001\022#\n\037HARM_CATEGORY_DANGEROUS_CONTE"
          + "NT\020\002\022\034\n\030HARM_CATEGORY_HARASSMENT\020\003\022#\n\037HA"
          + "RM_CATEGORY_SEXUALLY_EXPLICIT\020\004B\311\001\n\035com."
          + "google.cloud.vertexai.apiB\014ContentProtoP"
          + "\001Z>cloud.google.com/go/aiplatform/apiv1/"
          + "aiplatformpb;aiplatformpb\252\002\032Google.Cloud"
          + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform"
          + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro"
          + "to3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.cloud.vertexai.api.OpenApiProto.getDescriptor(),
              com.google.cloud.vertexai.api.ToolProto.getDescriptor(),
              com.google.protobuf.DurationProto.getDescriptor(),
              com.google.type.DateProto.getDescriptor(),
            });
    internal_static_google_cloud_vertexai_v1_Content_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_vertexai_v1_Content_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_Content_descriptor,
            new java.lang.String[] {
              "Role", "Parts",
            });
    internal_static_google_cloud_vertexai_v1_Part_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_vertexai_v1_Part_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_Part_descriptor,
            new java.lang.String[] {
              "Text",
              "InlineData",
              "FileData",
              "FunctionCall",
              "FunctionResponse",
              "VideoMetadata",
              "Data",
              "Metadata",
            });
    internal_static_google_cloud_vertexai_v1_Blob_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_vertexai_v1_Blob_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_Blob_descriptor,
            new java.lang.String[] {
              "MimeType", "Data",
            });
    internal_static_google_cloud_vertexai_v1_FileData_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_vertexai_v1_FileData_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_FileData_descriptor,
            new java.lang.String[] {
              "MimeType", "FileUri",
            });
    internal_static_google_cloud_vertexai_v1_VideoMetadata_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_cloud_vertexai_v1_VideoMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_VideoMetadata_descriptor,
            new java.lang.String[] {
              "StartOffset", "EndOffset",
            });
    internal_static_google_cloud_vertexai_v1_GenerationConfig_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_cloud_vertexai_v1_GenerationConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GenerationConfig_descriptor,
            new java.lang.String[] {
              "Temperature",
              "TopP",
              "TopK",
              "CandidateCount",
              "MaxOutputTokens",
              "StopSequences",
              "PresencePenalty",
              "FrequencyPenalty",
              "Seed",
              "ResponseMimeType",
              "ResponseSchema",
              "RoutingConfig",
            });
    internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_descriptor =
        internal_static_google_cloud_vertexai_v1_GenerationConfig_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_descriptor,
            new java.lang.String[] {
              "AutoMode", "ManualMode", "RoutingConfig",
            });
    internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_AutoRoutingMode_descriptor =
        internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_AutoRoutingMode_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_AutoRoutingMode_descriptor,
            new java.lang.String[] {
              "ModelRoutingPreference",
            });
    internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_ManualRoutingMode_descriptor =
        internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_descriptor
            .getNestedTypes()
            .get(1);
    internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_ManualRoutingMode_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GenerationConfig_RoutingConfig_ManualRoutingMode_descriptor,
            new java.lang.String[] {
              "ModelName",
            });
    internal_static_google_cloud_vertexai_v1_SafetySetting_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_cloud_vertexai_v1_SafetySetting_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_SafetySetting_descriptor,
            new java.lang.String[] {
              "Category", "Threshold", "Method",
            });
    internal_static_google_cloud_vertexai_v1_SafetyRating_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_cloud_vertexai_v1_SafetyRating_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_SafetyRating_descriptor,
            new java.lang.String[] {
              "Category", "Probability", "ProbabilityScore", "Severity", "SeverityScore", "Blocked",
            });
    internal_static_google_cloud_vertexai_v1_CitationMetadata_descriptor =
        getDescriptor().getMessageTypes().get(8);
    internal_static_google_cloud_vertexai_v1_CitationMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_CitationMetadata_descriptor,
            new java.lang.String[] {
              "Citations",
            });
    internal_static_google_cloud_vertexai_v1_Citation_descriptor =
        getDescriptor().getMessageTypes().get(9);
    internal_static_google_cloud_vertexai_v1_Citation_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_Citation_descriptor,
            new java.lang.String[] {
              "StartIndex", "EndIndex", "Uri", "Title", "License", "PublicationDate",
            });
    internal_static_google_cloud_vertexai_v1_Candidate_descriptor =
        getDescriptor().getMessageTypes().get(10);
    internal_static_google_cloud_vertexai_v1_Candidate_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_Candidate_descriptor,
            new java.lang.String[] {
              "Index",
              "Content",
              "Score",
              "AvgLogprobs",
              "FinishReason",
              "SafetyRatings",
              "FinishMessage",
              "CitationMetadata",
              "GroundingMetadata",
            });
    internal_static_google_cloud_vertexai_v1_Segment_descriptor =
        getDescriptor().getMessageTypes().get(11);
    internal_static_google_cloud_vertexai_v1_Segment_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_Segment_descriptor,
            new java.lang.String[] {
              "PartIndex", "StartIndex", "EndIndex", "Text",
            });
    internal_static_google_cloud_vertexai_v1_GroundingChunk_descriptor =
        getDescriptor().getMessageTypes().get(12);
    internal_static_google_cloud_vertexai_v1_GroundingChunk_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GroundingChunk_descriptor,
            new java.lang.String[] {
              "Web", "RetrievedContext", "ChunkType",
            });
    internal_static_google_cloud_vertexai_v1_GroundingChunk_Web_descriptor =
        internal_static_google_cloud_vertexai_v1_GroundingChunk_descriptor.getNestedTypes().get(0);
    internal_static_google_cloud_vertexai_v1_GroundingChunk_Web_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GroundingChunk_Web_descriptor,
            new java.lang.String[] {
              "Uri", "Title",
            });
    internal_static_google_cloud_vertexai_v1_GroundingChunk_RetrievedContext_descriptor =
        internal_static_google_cloud_vertexai_v1_GroundingChunk_descriptor.getNestedTypes().get(1);
    internal_static_google_cloud_vertexai_v1_GroundingChunk_RetrievedContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GroundingChunk_RetrievedContext_descriptor,
            new java.lang.String[] {
              "Uri", "Title",
            });
    internal_static_google_cloud_vertexai_v1_GroundingSupport_descriptor =
        getDescriptor().getMessageTypes().get(13);
    internal_static_google_cloud_vertexai_v1_GroundingSupport_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GroundingSupport_descriptor,
            new java.lang.String[] {
              "Segment", "GroundingChunkIndices", "ConfidenceScores",
            });
    internal_static_google_cloud_vertexai_v1_GroundingMetadata_descriptor =
        getDescriptor().getMessageTypes().get(14);
    internal_static_google_cloud_vertexai_v1_GroundingMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_GroundingMetadata_descriptor,
            new java.lang.String[] {
              "WebSearchQueries", "SearchEntryPoint", "GroundingChunks", "GroundingSupports",
            });
    internal_static_google_cloud_vertexai_v1_SearchEntryPoint_descriptor =
        getDescriptor().getMessageTypes().get(15);
    internal_static_google_cloud_vertexai_v1_SearchEntryPoint_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_vertexai_v1_SearchEntryPoint_descriptor,
            new java.lang.String[] {
              "RenderedContent", "SdkBlob",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.cloud.vertexai.api.OpenApiProto.getDescriptor();
    com.google.cloud.vertexai.api.ToolProto.getDescriptor();
    com.google.protobuf.DurationProto.getDescriptor();
    com.google.type.DateProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy