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

com.google.cloud.retail.v2beta.ServingConfigProto Maven / Gradle / Ivy

There is a newer version: 2.57.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/retail/v2beta/serving_config.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.retail.v2beta;

public final class ServingConfigProto {
  private ServingConfigProto() {}

  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_retail_v2beta_ServingConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2beta_ServingConfig_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/retail/v2beta/serving_con"
          + "fig.proto\022\032google.cloud.retail.v2beta\032\037g"
          + "oogle/api/field_behavior.proto\032\031google/a"
          + "pi/resource.proto\032\'google/cloud/retail/v"
          + "2beta/common.proto\032/google/cloud/retail/"
          + "v2beta/search_service.proto\"\210\010\n\rServingC"
          + "onfig\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\031\n\014display_name"
          + "\030\002 \001(\tB\003\340A\002\022\020\n\010model_id\030\003 \001(\t\022\035\n\025price_r"
          + "eranking_level\030\004 \001(\t\022\031\n\021facet_control_id"
          + "s\030\005 \003(\t\022V\n\022dynamic_facet_spec\030\006 \001(\0132:.go"
          + "ogle.cloud.retail.v2beta.SearchRequest.D"
          + "ynamicFacetSpec\022\031\n\021boost_control_ids\030\007 \003"
          + "(\t\022\032\n\022filter_control_ids\030\t \003(\t\022\034\n\024redire"
          + "ct_control_ids\030\n \003(\t\022#\n\033twoway_synonyms_"
          + "control_ids\030\022 \003(\t\022#\n\033oneway_synonyms_con"
          + "trol_ids\030\014 \003(\t\022$\n\034do_not_associate_contr"
          + "ol_ids\030\r \003(\t\022\037\n\027replacement_control_ids\030"
          + "\016 \003(\t\022\032\n\022ignore_control_ids\030\017 \003(\t\022\027\n\017div"
          + "ersity_level\030\010 \001(\t\022O\n\016diversity_type\030\024 \001"
          + "(\01627.google.cloud.retail.v2beta.ServingC"
          + "onfig.DiversityType\022$\n\034enable_category_f"
          + "ilter_level\030\020 \001(\t\022[\n\024personalization_spe"
          + "c\030\025 \001(\0132=.google.cloud.retail.v2beta.Sea"
          + "rchRequest.PersonalizationSpec\022H\n\016soluti"
          + "on_types\030\023 \003(\0162(.google.cloud.retail.v2b"
          + "eta.SolutionTypeB\006\340A\002\340A\005\"d\n\rDiversityTyp"
          + "e\022\036\n\032DIVERSITY_TYPE_UNSPECIFIED\020\000\022\030\n\024RUL"
          + "E_BASED_DIVERSITY\020\002\022\031\n\025DATA_DRIVEN_DIVER"
          + "SITY\020\003:\205\001\352A\201\001\n#retail.googleapis.com/Ser"
          + "vingConfig\022Zprojects/{project}/locations"
          + "/{location}/catalogs/{catalog}/servingCo"
          + "nfigs/{serving_config}B\321\001\n\036com.google.cl"
          + "oud.retail.v2betaB\022ServingConfigProtoP\001Z"
          + "6cloud.google.com/go/retail/apiv2beta/re"
          + "tailpb;retailpb\242\002\006RETAIL\252\002\032Google.Cloud."
          + "Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2be"
          + "ta\352\002\035Google::Cloud::Retail::V2betab\006prot"
          + "o3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.cloud.retail.v2beta.CommonProto.getDescriptor(),
              com.google.cloud.retail.v2beta.SearchServiceProto.getDescriptor(),
            });
    internal_static_google_cloud_retail_v2beta_ServingConfig_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_retail_v2beta_ServingConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2beta_ServingConfig_descriptor,
            new java.lang.String[] {
              "Name",
              "DisplayName",
              "ModelId",
              "PriceRerankingLevel",
              "FacetControlIds",
              "DynamicFacetSpec",
              "BoostControlIds",
              "FilterControlIds",
              "RedirectControlIds",
              "TwowaySynonymsControlIds",
              "OnewaySynonymsControlIds",
              "DoNotAssociateControlIds",
              "ReplacementControlIds",
              "IgnoreControlIds",
              "DiversityLevel",
              "DiversityType",
              "EnableCategoryFilterLevel",
              "PersonalizationSpec",
              "SolutionTypes",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.cloud.retail.v2beta.CommonProto.getDescriptor();
    com.google.cloud.retail.v2beta.SearchServiceProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy