1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/retail/v2/user_event.proto 18 19 package com.google.cloud.retail.v2; 20 21 public final class UserEventProto { UserEventProto()22 private UserEventProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_retail_v2_UserEvent_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_retail_v2_UserEvent_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_retail_v2_UserEvent_AttributesEntry_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_retail_v2_UserEvent_AttributesEntry_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_retail_v2_ProductDetail_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_retail_v2_ProductDetail_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_retail_v2_CompletionDetail_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_retail_v2_CompletionDetail_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_retail_v2_PurchaseTransaction_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_retail_v2_PurchaseTransaction_fieldAccessorTable; 50 getDescriptor()51 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 52 return descriptor; 53 } 54 55 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 56 57 static { 58 java.lang.String[] descriptorData = { 59 "\n\'google/cloud/retail/v2/user_event.prot" 60 + "o\022\026google.cloud.retail.v2\032\037google/api/fi" 61 + "eld_behavior.proto\032#google/cloud/retail/" 62 + "v2/common.proto\032$google/cloud/retail/v2/" 63 + "product.proto\032\037google/protobuf/timestamp" 64 + ".proto\032\036google/protobuf/wrappers.proto\"\227" 65 + "\006\n\tUserEvent\022\027\n\nevent_type\030\001 \001(\tB\003\340A\002\022\027\n" 66 + "\nvisitor_id\030\002 \001(\tB\003\340A\002\022\022\n\nsession_id\030\025 \001" 67 + "(\t\022.\n\nevent_time\030\003 \001(\0132\032.google.protobuf" 68 + ".Timestamp\022\026\n\016experiment_ids\030\004 \003(\t\022\031\n\021at" 69 + "tribution_token\030\005 \001(\t\022>\n\017product_details" 70 + "\030\006 \003(\0132%.google.cloud.retail.v2.ProductD" 71 + "etail\022C\n\021completion_detail\030\026 \001(\0132(.googl" 72 + "e.cloud.retail.v2.CompletionDetail\022E\n\nat" 73 + "tributes\030\007 \003(\01321.google.cloud.retail.v2." 74 + "UserEvent.AttributesEntry\022\017\n\007cart_id\030\010 \001" 75 + "(\t\022I\n\024purchase_transaction\030\t \001(\0132+.googl" 76 + "e.cloud.retail.v2.PurchaseTransaction\022\024\n" 77 + "\014search_query\030\n \001(\t\022\016\n\006filter\030\020 \001(\t\022\020\n\010o" 78 + "rder_by\030\021 \001(\t\022\016\n\006offset\030\022 \001(\005\022\027\n\017page_ca" 79 + "tegories\030\013 \003(\t\0223\n\tuser_info\030\014 \001(\0132 .goog" 80 + "le.cloud.retail.v2.UserInfo\022\013\n\003uri\030\r \001(\t" 81 + "\022\024\n\014referrer_uri\030\016 \001(\t\022\024\n\014page_view_id\030\017" 82 + " \001(\t\022\016\n\006entity\030\027 \001(\t\032Z\n\017AttributesEntry\022" 83 + "\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.google.clo" 84 + "ud.retail.v2.CustomAttribute:\0028\001\"u\n\rProd" 85 + "uctDetail\0225\n\007product\030\001 \001(\0132\037.google.clou" 86 + "d.retail.v2.ProductB\003\340A\002\022-\n\010quantity\030\002 \001" 87 + "(\0132\033.google.protobuf.Int32Value\"p\n\020Compl" 88 + "etionDetail\022$\n\034completion_attribution_to" 89 + "ken\030\001 \001(\t\022\033\n\023selected_suggestion\030\002 \001(\t\022\031" 90 + "\n\021selected_position\030\003 \001(\005\"n\n\023PurchaseTra" 91 + "nsaction\022\n\n\002id\030\001 \001(\t\022\024\n\007revenue\030\002 \001(\002B\003\340" 92 + "A\002\022\013\n\003tax\030\003 \001(\002\022\014\n\004cost\030\004 \001(\002\022\032\n\rcurrenc" 93 + "y_code\030\005 \001(\tB\003\340A\002B\271\001\n\032com.google.cloud.r" 94 + "etail.v2B\016UserEventProtoP\001Z2cloud.google" 95 + ".com/go/retail/apiv2/retailpb;retailpb\242\002" 96 + "\006RETAIL\252\002\026Google.Cloud.Retail.V2\312\002\026Googl" 97 + "e\\Cloud\\Retail\\V2\352\002\031Google::Cloud::Retai" 98 + "l::V2b\006proto3" 99 }; 100 descriptor = 101 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 102 descriptorData, 103 new com.google.protobuf.Descriptors.FileDescriptor[] { 104 com.google.api.FieldBehaviorProto.getDescriptor(), 105 com.google.cloud.retail.v2.CommonProto.getDescriptor(), 106 com.google.cloud.retail.v2.ProductProto.getDescriptor(), 107 com.google.protobuf.TimestampProto.getDescriptor(), 108 com.google.protobuf.WrappersProto.getDescriptor(), 109 }); 110 internal_static_google_cloud_retail_v2_UserEvent_descriptor = 111 getDescriptor().getMessageTypes().get(0); 112 internal_static_google_cloud_retail_v2_UserEvent_fieldAccessorTable = 113 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 114 internal_static_google_cloud_retail_v2_UserEvent_descriptor, 115 new java.lang.String[] { 116 "EventType", 117 "VisitorId", 118 "SessionId", 119 "EventTime", 120 "ExperimentIds", 121 "AttributionToken", 122 "ProductDetails", 123 "CompletionDetail", 124 "Attributes", 125 "CartId", 126 "PurchaseTransaction", 127 "SearchQuery", 128 "Filter", 129 "OrderBy", 130 "Offset", 131 "PageCategories", 132 "UserInfo", 133 "Uri", 134 "ReferrerUri", 135 "PageViewId", 136 "Entity", 137 }); 138 internal_static_google_cloud_retail_v2_UserEvent_AttributesEntry_descriptor = 139 internal_static_google_cloud_retail_v2_UserEvent_descriptor.getNestedTypes().get(0); 140 internal_static_google_cloud_retail_v2_UserEvent_AttributesEntry_fieldAccessorTable = 141 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 142 internal_static_google_cloud_retail_v2_UserEvent_AttributesEntry_descriptor, 143 new java.lang.String[] { 144 "Key", "Value", 145 }); 146 internal_static_google_cloud_retail_v2_ProductDetail_descriptor = 147 getDescriptor().getMessageTypes().get(1); 148 internal_static_google_cloud_retail_v2_ProductDetail_fieldAccessorTable = 149 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 150 internal_static_google_cloud_retail_v2_ProductDetail_descriptor, 151 new java.lang.String[] { 152 "Product", "Quantity", 153 }); 154 internal_static_google_cloud_retail_v2_CompletionDetail_descriptor = 155 getDescriptor().getMessageTypes().get(2); 156 internal_static_google_cloud_retail_v2_CompletionDetail_fieldAccessorTable = 157 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 158 internal_static_google_cloud_retail_v2_CompletionDetail_descriptor, 159 new java.lang.String[] { 160 "CompletionAttributionToken", "SelectedSuggestion", "SelectedPosition", 161 }); 162 internal_static_google_cloud_retail_v2_PurchaseTransaction_descriptor = 163 getDescriptor().getMessageTypes().get(3); 164 internal_static_google_cloud_retail_v2_PurchaseTransaction_fieldAccessorTable = 165 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 166 internal_static_google_cloud_retail_v2_PurchaseTransaction_descriptor, 167 new java.lang.String[] { 168 "Id", "Revenue", "Tax", "Cost", "CurrencyCode", 169 }); 170 com.google.protobuf.ExtensionRegistry registry = 171 com.google.protobuf.ExtensionRegistry.newInstance(); 172 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)173 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 174 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()175 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.retail.v2.CommonProto.getDescriptor()176 com.google.cloud.retail.v2.CommonProto.getDescriptor(); com.google.cloud.retail.v2.ProductProto.getDescriptor()177 com.google.cloud.retail.v2.ProductProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()178 com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor()179 com.google.protobuf.WrappersProto.getDescriptor(); 180 } 181 182 // @@protoc_insertion_point(outer_class_scope) 183 } 184