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

com.google.cloud.retail.v2.CompletionServiceProto Maven / Gradle / Ivy

The 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/v2/completion_service.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2;

public final class CompletionServiceProto {
  private CompletionServiceProto() {}

  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_v2_CompleteQueryRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResult_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResultsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResultsEntry_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/v2/completion_serv"
          + "ice.proto\022\026google.cloud.retail.v2\032\034googl"
          + "e/api/annotations.proto\032\027google/api/clie"
          + "nt.proto\032\037google/api/field_behavior.prot"
          + "o\032\031google/api/resource.proto\032#google/clo"
          + "ud/retail/v2/common.proto\032*google/cloud/"
          + "retail/v2/import_config.proto\032#google/lo"
          + "ngrunning/operations.proto\"\203\002\n\024CompleteQ"
          + "ueryRequest\0226\n\007catalog\030\001 \001(\tB%\340A\002\372A\037\n\035re"
          + "tail.googleapis.com/Catalog\022\022\n\005query\030\002 \001"
          + "(\tB\003\340A\002\022\022\n\nvisitor_id\030\007 \001(\t\022\026\n\016language_"
          + "codes\030\003 \003(\t\022\023\n\013device_type\030\004 \001(\t\022\017\n\007data"
          + "set\030\006 \001(\t\022\027\n\017max_suggestions\030\005 \001(\005\022$\n\034en"
          + "able_attribute_suggestions\030\t \001(\010\022\016\n\006enti"
          + "ty\030\n \001(\t\"\215\006\n\025CompleteQueryResponse\022Z\n\022co"
          + "mpletion_results\030\001 \003(\0132>.google.cloud.re"
          + "tail.v2.CompleteQueryResponse.Completion"
          + "Result\022\031\n\021attribution_token\030\002 \001(\t\022c\n\025rec"
          + "ent_search_results\030\003 \003(\[email protected]."
          + "retail.v2.CompleteQueryResponse.RecentSe"
          + "archResultB\002\030\001\022^\n\021attribute_results\030\004 \003("
          + "\0132C.google.cloud.retail.v2.CompleteQuery"
          + "Response.AttributeResultsEntry\032\346\001\n\020Compl"
          + "etionResult\022\022\n\nsuggestion\030\001 \001(\t\022b\n\nattri"
          + "butes\030\002 \003(\0132N.google.cloud.retail.v2.Com"
          + "pleteQueryResponse.CompletionResult.Attr"
          + "ibutesEntry\032Z\n\017AttributesEntry\022\013\n\003key\030\001 "
          + "\001(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.retail"
          + ".v2.CustomAttribute:\0028\001\032/\n\022RecentSearchR"
          + "esult\022\025\n\rrecent_search\030\001 \001(\t:\002\030\001\032&\n\017Attr"
          + "ibuteResult\022\023\n\013suggestions\030\001 \003(\t\032v\n\025Attr"
          + "ibuteResultsEntry\022\013\n\003key\030\001 \001(\t\022L\n\005value\030"
          + "\002 \001(\0132=.google.cloud.retail.v2.CompleteQ"
          + "ueryResponse.AttributeResult:\0028\0012\262\004\n\021Com"
          + "pletionService\022\263\001\n\rCompleteQuery\022,.googl"
          + "e.cloud.retail.v2.CompleteQueryRequest\032-"
          + ".google.cloud.retail.v2.CompleteQueryRes"
          + "ponse\"E\202\323\344\223\002?\022=/v2/{catalog=projects/*/l"
          + "ocations/*/catalogs/*}:completeQuery\022\233\002\n"
          + "\024ImportCompletionData\0223.google.cloud.ret"
          + "ail.v2.ImportCompletionDataRequest\032\035.goo"
          + "gle.longrunning.Operation\"\256\001\312A\\\n3google."
          + "cloud.retail.v2.ImportCompletionDataResp"
          + "onse\022%google.cloud.retail.v2.ImportMetad"
          + "ata\202\323\344\223\002I\"D/v2/{parent=projects/*/locati"
          + "ons/*/catalogs/*}/completionData:import:"
          + "\001*\032I\312A\025retail.googleapis.com\322A.https://w"
          + "ww.googleapis.com/auth/cloud-platformB\301\001"
          + "\n\032com.google.cloud.retail.v2B\026Completion"
          + "ServiceProtoP\001Z2cloud.google.com/go/reta"
          + "il/apiv2/retailpb;retailpb\242\002\006RETAIL\252\002\026Go"
          + "ogle.Cloud.Retail.V2\312\002\026Google\\Cloud\\Reta"
          + "il\\V2\352\002\031Google::Cloud::Retail::V2b\006proto"
          + "3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.AnnotationsProto.getDescriptor(),
              com.google.api.ClientProto.getDescriptor(),
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.cloud.retail.v2.CommonProto.getDescriptor(),
              com.google.cloud.retail.v2.ImportConfigProto.getDescriptor(),
              com.google.longrunning.OperationsProto.getDescriptor(),
            });
    internal_static_google_cloud_retail_v2_CompleteQueryRequest_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_retail_v2_CompleteQueryRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryRequest_descriptor,
            new java.lang.String[] {
              "Catalog",
              "Query",
              "VisitorId",
              "LanguageCodes",
              "DeviceType",
              "Dataset",
              "MaxSuggestions",
              "EnableAttributeSuggestions",
              "Entity",
            });
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor,
            new java.lang.String[] {
              "CompletionResults", "AttributionToken", "RecentSearchResults", "AttributeResults",
            });
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor =
        internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor,
            new java.lang.String[] {
              "Suggestion", "Attributes",
            });
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_descriptor =
        internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryResponse_CompletionResult_AttributesEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_descriptor =
        internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor
            .getNestedTypes()
            .get(1);
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryResponse_RecentSearchResult_descriptor,
            new java.lang.String[] {
              "RecentSearch",
            });
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResult_descriptor =
        internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor
            .getNestedTypes()
            .get(2);
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResult_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResult_descriptor,
            new java.lang.String[] {
              "Suggestions",
            });
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResultsEntry_descriptor =
        internal_static_google_cloud_retail_v2_CompleteQueryResponse_descriptor
            .getNestedTypes()
            .get(3);
    internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResultsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2_CompleteQueryResponse_AttributeResultsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ClientProto.defaultHost);
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.AnnotationsProto.http);
    registry.add(com.google.api.ClientProto.oauthScopes);
    registry.add(com.google.api.ResourceProto.resourceReference);
    registry.add(com.google.longrunning.OperationsProto.operationInfo);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.AnnotationsProto.getDescriptor();
    com.google.api.ClientProto.getDescriptor();
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.cloud.retail.v2.CommonProto.getDescriptor();
    com.google.cloud.retail.v2.ImportConfigProto.getDescriptor();
    com.google.longrunning.OperationsProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy