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/channel/v1/subscriber_event.proto 18 19 package com.google.cloud.channel.v1; 20 21 public final class SubscriberEventProto { SubscriberEventProto()22 private SubscriberEventProto() {} 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_channel_v1_CustomerEvent_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable; 42 getDescriptor()43 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 44 return descriptor; 45 } 46 47 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 48 49 static { 50 java.lang.String[] descriptorData = { 51 "\n.google/cloud/channel/v1/subscriber_eve" 52 + "nt.proto\022\027google.cloud.channel.v1\032\031googl" 53 + "e/api/resource.proto\"\344\001\n\rCustomerEvent\022;" 54 + "\n\010customer\030\001 \001(\tB)\372A&\n$cloudchannel.goog" 55 + "leapis.com/Customer\022?\n\nevent_type\030\002 \001(\0162" 56 + "+.google.cloud.channel.v1.CustomerEvent." 57 + "Type\"U\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\032\n\026PR" 58 + "IMARY_DOMAIN_CHANGED\020\001\022\033\n\027PRIMARY_DOMAIN" 59 + "_VERIFIED\020\002\"\261\003\n\020EntitlementEvent\022A\n\013enti" 60 + "tlement\030\001 \001(\tB,\372A)\n\'cloudchannel.googlea" 61 + "pis.com/Entitlement\022B\n\nevent_type\030\002 \001(\0162" 62 + "..google.cloud.channel.v1.EntitlementEve" 63 + "nt.Type\"\225\002\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\013" 64 + "\n\007CREATED\020\001\022\027\n\023PRICE_PLAN_SWITCHED\020\003\022\026\n\022" 65 + "COMMITMENT_CHANGED\020\004\022\013\n\007RENEWED\020\005\022\r\n\tSUS" 66 + "PENDED\020\006\022\r\n\tACTIVATED\020\007\022\r\n\tCANCELLED\020\010\022\017" 67 + "\n\013SKU_CHANGED\020\t\022\033\n\027RENEWAL_SETTING_CHANG" 68 + "ED\020\n\022\030\n\024PAID_SERVICE_STARTED\020\013\022\036\n\032LICENS" 69 + "E_ASSIGNMENT_CHANGED\020\014\022\027\n\023LICENSE_CAP_CH" 70 + "ANGED\020\r\"\244\001\n\017SubscriberEvent\022@\n\016customer_" 71 + "event\030\001 \001(\0132&.google.cloud.channel.v1.Cu" 72 + "stomerEventH\000\022F\n\021entitlement_event\030\002 \001(\013" 73 + "2).google.cloud.channel.v1.EntitlementEv" 74 + "entH\000B\007\n\005eventBl\n\033com.google.cloud.chann" 75 + "el.v1B\024SubscriberEventProtoP\001Z5cloud.goo" 76 + "gle.com/go/channel/apiv1/channelpb;chann" 77 + "elpbb\006proto3" 78 }; 79 descriptor = 80 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 81 descriptorData, 82 new com.google.protobuf.Descriptors.FileDescriptor[] { 83 com.google.api.ResourceProto.getDescriptor(), 84 }); 85 internal_static_google_cloud_channel_v1_CustomerEvent_descriptor = 86 getDescriptor().getMessageTypes().get(0); 87 internal_static_google_cloud_channel_v1_CustomerEvent_fieldAccessorTable = 88 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 89 internal_static_google_cloud_channel_v1_CustomerEvent_descriptor, 90 new java.lang.String[] { 91 "Customer", "EventType", 92 }); 93 internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor = 94 getDescriptor().getMessageTypes().get(1); 95 internal_static_google_cloud_channel_v1_EntitlementEvent_fieldAccessorTable = 96 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 97 internal_static_google_cloud_channel_v1_EntitlementEvent_descriptor, 98 new java.lang.String[] { 99 "Entitlement", "EventType", 100 }); 101 internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor = 102 getDescriptor().getMessageTypes().get(2); 103 internal_static_google_cloud_channel_v1_SubscriberEvent_fieldAccessorTable = 104 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 105 internal_static_google_cloud_channel_v1_SubscriberEvent_descriptor, 106 new java.lang.String[] { 107 "CustomerEvent", "EntitlementEvent", "Event", 108 }); 109 com.google.protobuf.ExtensionRegistry registry = 110 com.google.protobuf.ExtensionRegistry.newInstance(); 111 registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)112 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 113 descriptor, registry); com.google.api.ResourceProto.getDescriptor()114 com.google.api.ResourceProto.getDescriptor(); 115 } 116 117 // @@protoc_insertion_point(outer_class_scope) 118 } 119