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

com.google.cloud.retail.v2alpha.PredictionServiceProto Maven / Gradle / Ivy

There is a newer version: 2.55.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/v2alpha/prediction_service.proto

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

public final class PredictionServiceProto {
  private PredictionServiceProto() {}

  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_v2alpha_PredictRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PredictRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_PredictRequest_ParamsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PredictRequest_ParamsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_PredictRequest_LabelsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PredictRequest_LabelsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_PredictResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PredictResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_MetadataEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_MetadataEntry_fieldAccessorTable;

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

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

  static {
    java.lang.String[] descriptorData = {
      "\n4google/cloud/retail/v2alpha/prediction"
          + "_service.proto\022\033google.cloud.retail.v2al"
          + "pha\032\034google/api/annotations.proto\032\027googl"
          + "e/api/client.proto\032\037google/api/field_beh"
          + "avior.proto\032\031google/api/resource.proto\032,"
          + "google/cloud/retail/v2alpha/user_event.p"
          + "roto\032\034google/protobuf/struct.proto\"\303\003\n\016P"
          + "redictRequest\022\026\n\tplacement\030\001 \001(\tB\003\340A\002\022?\n"
          + "\nuser_event\030\002 \001(\0132&.google.cloud.retail."
          + "v2alpha.UserEventB\003\340A\002\022\021\n\tpage_size\030\003 \001("
          + "\005\022\026\n\npage_token\030\004 \001(\tB\002\030\001\022\016\n\006filter\030\005 \001("
          + "\t\022\025\n\rvalidate_only\030\006 \001(\010\022G\n\006params\030\007 \003(\013"
          + "27.google.cloud.retail.v2alpha.PredictRe"
          + "quest.ParamsEntry\022G\n\006labels\030\010 \003(\01327.goog"
          + "le.cloud.retail.v2alpha.PredictRequest.L"
          + "abelsEntry\032E\n\013ParamsEntry\022\013\n\003key\030\001 \001(\t\022%"
          + "\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\0028"
          + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002"
          + " \001(\t:\0028\001\"\361\002\n\017PredictResponse\022N\n\007results\030"
          + "\001 \003(\0132=.google.cloud.retail.v2alpha.Pred"
          + "ictResponse.PredictionResult\022\031\n\021attribut"
          + "ion_token\030\002 \001(\t\022\023\n\013missing_ids\030\003 \003(\t\022\025\n\r"
          + "validate_only\030\004 \001(\010\032\306\001\n\020PredictionResult"
          + "\022\n\n\002id\030\001 \001(\t\022]\n\010metadata\030\002 \003(\0132K.google."
          + "cloud.retail.v2alpha.PredictResponse.Pre"
          + "dictionResult.MetadataEntry\032G\n\rMetadataE"
          + "ntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.googl"
          + "e.protobuf.Value:\0028\0012\365\002\n\021PredictionServi"
          + "ce\022\224\002\n\007Predict\022+.google.cloud.retail.v2a"
          + "lpha.PredictRequest\032,.google.cloud.retai"
          + "l.v2alpha.PredictResponse\"\255\001\202\323\344\223\002\246\001\"K/v2"
          + "alpha/{placement=projects/*/locations/*/"
          + "catalogs/*/placements/*}:predict:\001*ZT\"O/"
          + "v2alpha/{placement=projects/*/locations/"
          + "*/catalogs/*/servingConfigs/*}:predict:\001"
          + "*\032I\312A\025retail.googleapis.com\322A.https://ww"
          + "w.googleapis.com/auth/cloud-platformB\332\001\n"
          + "\037com.google.cloud.retail.v2alphaB\026Predic"
          + "tionServiceProtoP\001Z7cloud.google.com/go/"
          + "retail/apiv2alpha/retailpb;retailpb\242\002\006RE"
          + "TAIL\252\002\033Google.Cloud.Retail.V2Alpha\312\002\033Goo"
          + "gle\\Cloud\\Retail\\V2alpha\352\002\036Google::Cloud"
          + "::Retail::V2alphab\006proto3"
    };
    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.v2alpha.UserEventProto.getDescriptor(),
              com.google.protobuf.StructProto.getDescriptor(),
            });
    internal_static_google_cloud_retail_v2alpha_PredictRequest_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_retail_v2alpha_PredictRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PredictRequest_descriptor,
            new java.lang.String[] {
              "Placement",
              "UserEvent",
              "PageSize",
              "PageToken",
              "Filter",
              "ValidateOnly",
              "Params",
              "Labels",
            });
    internal_static_google_cloud_retail_v2alpha_PredictRequest_ParamsEntry_descriptor =
        internal_static_google_cloud_retail_v2alpha_PredictRequest_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_retail_v2alpha_PredictRequest_ParamsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PredictRequest_ParamsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_retail_v2alpha_PredictRequest_LabelsEntry_descriptor =
        internal_static_google_cloud_retail_v2alpha_PredictRequest_descriptor
            .getNestedTypes()
            .get(1);
    internal_static_google_cloud_retail_v2alpha_PredictRequest_LabelsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PredictRequest_LabelsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_retail_v2alpha_PredictResponse_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_retail_v2alpha_PredictResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PredictResponse_descriptor,
            new java.lang.String[] {
              "Results", "AttributionToken", "MissingIds", "ValidateOnly",
            });
    internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_descriptor =
        internal_static_google_cloud_retail_v2alpha_PredictResponse_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_descriptor,
            new java.lang.String[] {
              "Id", "Metadata",
            });
    internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_MetadataEntry_descriptor =
        internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_MetadataEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PredictResponse_PredictionResult_MetadataEntry_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);
    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.v2alpha.UserEventProto.getDescriptor();
    com.google.protobuf.StructProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy