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

com.google.cloud.retail.v2alpha.UserEventProto 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/v2alpha/user_event.proto

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

public final class UserEventProto {
  private UserEventProto() {}

  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_UserEvent_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_UserEvent_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_UserEvent_AttributesEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_UserEvent_AttributesEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_ProductDetail_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_ProductDetail_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_CompletionDetail_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_CompletionDetail_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_retail_v2alpha_PurchaseTransaction_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_retail_v2alpha_PurchaseTransaction_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/v2alpha/user_event"
          + ".proto\022\033google.cloud.retail.v2alpha\032\037goo"
          + "gle/api/field_behavior.proto\032(google/clo"
          + "ud/retail/v2alpha/common.proto\032)google/c"
          + "loud/retail/v2alpha/product.proto\032\037googl"
          + "e/protobuf/timestamp.proto\032\036google/proto"
          + "buf/wrappers.proto\"\265\006\n\tUserEvent\022\027\n\neven"
          + "t_type\030\001 \001(\tB\003\340A\002\022\027\n\nvisitor_id\030\002 \001(\tB\003\340"
          + "A\002\022\022\n\nsession_id\030\025 \001(\t\022.\n\nevent_time\030\003 \001"
          + "(\0132\032.google.protobuf.Timestamp\022\026\n\016experi"
          + "ment_ids\030\004 \003(\t\022\031\n\021attribution_token\030\005 \001("
          + "\t\022C\n\017product_details\030\006 \003(\0132*.google.clou"
          + "d.retail.v2alpha.ProductDetail\022H\n\021comple"
          + "tion_detail\030\026 \001(\0132-.google.cloud.retail."
          + "v2alpha.CompletionDetail\022J\n\nattributes\030\007"
          + " \003(\01326.google.cloud.retail.v2alpha.UserE"
          + "vent.AttributesEntry\022\017\n\007cart_id\030\010 \001(\t\022N\n"
          + "\024purchase_transaction\030\t \001(\01320.google.clo"
          + "ud.retail.v2alpha.PurchaseTransaction\022\024\n"
          + "\014search_query\030\n \001(\t\022\016\n\006filter\030\020 \001(\t\022\020\n\010o"
          + "rder_by\030\021 \001(\t\022\016\n\006offset\030\022 \001(\005\022\027\n\017page_ca"
          + "tegories\030\013 \003(\t\0228\n\tuser_info\030\014 \001(\0132%.goog"
          + "le.cloud.retail.v2alpha.UserInfo\022\013\n\003uri\030"
          + "\r \001(\t\022\024\n\014referrer_uri\030\016 \001(\t\022\024\n\014page_view"
          + "_id\030\017 \001(\t\022\016\n\006entity\030\027 \001(\t\032_\n\017AttributesE"
          + "ntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.googl"
          + "e.cloud.retail.v2alpha.CustomAttribute:\002"
          + "8\001\"z\n\rProductDetail\022:\n\007product\030\001 \001(\0132$.g"
          + "oogle.cloud.retail.v2alpha.ProductB\003\340A\002\022"
          + "-\n\010quantity\030\002 \001(\0132\033.google.protobuf.Int3"
          + "2Value\"p\n\020CompletionDetail\022$\n\034completion"
          + "_attribution_token\030\001 \001(\t\022\033\n\023selected_sug"
          + "gestion\030\002 \001(\t\022\031\n\021selected_position\030\003 \001(\005"
          + "\"n\n\023PurchaseTransaction\022\n\n\002id\030\001 \001(\t\022\024\n\007r"
          + "evenue\030\002 \001(\002B\003\340A\002\022\013\n\003tax\030\003 \001(\002\022\014\n\004cost\030\004"
          + " \001(\002\022\032\n\rcurrency_code\030\005 \001(\tB\003\340A\002B\322\001\n\037com"
          + ".google.cloud.retail.v2alphaB\016UserEventP"
          + "rotoP\001Z7cloud.google.com/go/retail/apiv2"
          + "alpha/retailpb;retailpb\242\002\006RETAIL\252\002\033Googl"
          + "e.Cloud.Retail.V2Alpha\312\002\033Google\\Cloud\\Re"
          + "tail\\V2alpha\352\002\036Google::Cloud::Retail::V2"
          + "alphab\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.cloud.retail.v2alpha.CommonProto.getDescriptor(),
              com.google.cloud.retail.v2alpha.ProductProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
              com.google.protobuf.WrappersProto.getDescriptor(),
            });
    internal_static_google_cloud_retail_v2alpha_UserEvent_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_retail_v2alpha_UserEvent_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_UserEvent_descriptor,
            new java.lang.String[] {
              "EventType",
              "VisitorId",
              "SessionId",
              "EventTime",
              "ExperimentIds",
              "AttributionToken",
              "ProductDetails",
              "CompletionDetail",
              "Attributes",
              "CartId",
              "PurchaseTransaction",
              "SearchQuery",
              "Filter",
              "OrderBy",
              "Offset",
              "PageCategories",
              "UserInfo",
              "Uri",
              "ReferrerUri",
              "PageViewId",
              "Entity",
            });
    internal_static_google_cloud_retail_v2alpha_UserEvent_AttributesEntry_descriptor =
        internal_static_google_cloud_retail_v2alpha_UserEvent_descriptor.getNestedTypes().get(0);
    internal_static_google_cloud_retail_v2alpha_UserEvent_AttributesEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_UserEvent_AttributesEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_retail_v2alpha_ProductDetail_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_retail_v2alpha_ProductDetail_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_ProductDetail_descriptor,
            new java.lang.String[] {
              "Product", "Quantity",
            });
    internal_static_google_cloud_retail_v2alpha_CompletionDetail_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_retail_v2alpha_CompletionDetail_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_CompletionDetail_descriptor,
            new java.lang.String[] {
              "CompletionAttributionToken", "SelectedSuggestion", "SelectedPosition",
            });
    internal_static_google_cloud_retail_v2alpha_PurchaseTransaction_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_retail_v2alpha_PurchaseTransaction_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_retail_v2alpha_PurchaseTransaction_descriptor,
            new java.lang.String[] {
              "Id", "Revenue", "Tax", "Cost", "CurrencyCode",
            });
    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.retail.v2alpha.CommonProto.getDescriptor();
    com.google.cloud.retail.v2alpha.ProductProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.protobuf.WrappersProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy