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/entitlements.proto 18 19 package com.google.cloud.channel.v1; 20 21 public final class EntitlementsProto { EntitlementsProto()22 private EntitlementsProto() {} 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_Entitlement_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_channel_v1_Parameter_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_channel_v1_AssociationInfo_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_channel_v1_ProvisionedService_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable; 50 static final com.google.protobuf.Descriptors.Descriptor 51 internal_static_google_cloud_channel_v1_RenewalSettings_descriptor; 52 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 53 internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable; 54 static final com.google.protobuf.Descriptors.Descriptor 55 internal_static_google_cloud_channel_v1_TrialSettings_descriptor; 56 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 57 internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable; 58 static final com.google.protobuf.Descriptors.Descriptor 59 internal_static_google_cloud_channel_v1_TransferableSku_descriptor; 60 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 61 internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable; 62 static final com.google.protobuf.Descriptors.Descriptor 63 internal_static_google_cloud_channel_v1_TransferEligibility_descriptor; 64 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 65 internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable; 66 getDescriptor()67 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 68 return descriptor; 69 } 70 71 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 72 73 static { 74 java.lang.String[] descriptorData = { 75 "\n*google/cloud/channel/v1/entitlements.p" 76 + "roto\022\027google.cloud.channel.v1\032\037google/ap" 77 + "i/field_behavior.proto\032\031google/api/resou" 78 + "rce.proto\032$google/cloud/channel/v1/commo" 79 + "n.proto\032$google/cloud/channel/v1/offers." 80 + "proto\032&google/cloud/channel/v1/products." 81 + "proto\032\037google/protobuf/timestamp.proto\"\373" 82 + "\010\n\013Entitlement\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013cre" 83 + "ate_time\030\005 \001(\0132\032.google.protobuf.Timesta" 84 + "mpB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032.google.pr" 85 + "otobuf.TimestampB\003\340A\003\0228\n\005offer\030\010 \001(\tB)\340A" 86 + "\002\372A#\n!cloudchannel.googleapis.com/Offer\022" 87 + "H\n\023commitment_settings\030\014 \001(\0132+.google.cl" 88 + "oud.channel.v1.CommitmentSettings\022W\n\022pro" 89 + "visioning_state\030\r \001(\01626.google.cloud.cha" 90 + "nnel.v1.Entitlement.ProvisioningStateB\003\340" 91 + "A\003\022M\n\023provisioned_service\030\020 \001(\0132+.google" 92 + ".cloud.channel.v1.ProvisionedServiceB\003\340A" 93 + "\003\022V\n\022suspension_reasons\030\022 \003(\01625.google.c" 94 + "loud.channel.v1.Entitlement.SuspensionRe" 95 + "asonB\003\340A\003\022\036\n\021purchase_order_id\030\023 \001(\tB\003\340A" 96 + "\001\022C\n\016trial_settings\030\025 \001(\0132&.google.cloud" 97 + ".channel.v1.TrialSettingsB\003\340A\003\022B\n\020associ" 98 + "ation_info\030\027 \001(\0132(.google.cloud.channel." 99 + "v1.AssociationInfo\0226\n\nparameters\030\032 \003(\0132\"" 100 + ".google.cloud.channel.v1.Parameter\022\034\n\017bi" 101 + "lling_account\030\034 \001(\tB\003\340A\001\"R\n\021Provisioning" 102 + "State\022\"\n\036PROVISIONING_STATE_UNSPECIFIED\020" 103 + "\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUSPENDED\020\005\"\243\001\n\020Suspens" 104 + "ionReason\022!\n\035SUSPENSION_REASON_UNSPECIFI" 105 + "ED\020\000\022\026\n\022RESELLER_INITIATED\020\001\022\017\n\013TRIAL_EN" 106 + "DED\020\002\022\034\n\030RENEWAL_WITH_TYPE_CANCEL\020\003\022\032\n\026P" 107 + "ENDING_TOS_ACCEPTANCE\020\004\022\t\n\005OTHER\020d:p\352Am\n" 108 + "\'cloudchannel.googleapis.com/Entitlement" 109 + "\022Baccounts/{account}/customers/{customer" 110 + "}/entitlements/{entitlement}\"_\n\tParamete" 111 + "r\022\014\n\004name\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.google." 112 + "cloud.channel.v1.Value\022\025\n\010editable\030\003 \001(\010" 113 + "B\003\340A\003\"Y\n\017AssociationInfo\022F\n\020base_entitle" 114 + "ment\030\001 \001(\tB,\372A)\n\'cloudchannel.googleapis" 115 + ".com/Entitlement\"`\n\022ProvisionedService\022\034" 116 + "\n\017provisioning_id\030\001 \001(\tB\003\340A\003\022\027\n\nproduct_" 117 + "id\030\002 \001(\tB\003\340A\003\022\023\n\006sku_id\030\003 \001(\tB\003\340A\003\"\305\001\n\022C" 118 + "ommitmentSettings\0223\n\nstart_time\030\001 \001(\0132\032." 119 + "google.protobuf.TimestampB\003\340A\003\0221\n\010end_ti" 120 + "me\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A" 121 + "\003\022G\n\020renewal_settings\030\004 \001(\0132(.google.clo" 122 + "ud.channel.v1.RenewalSettingsB\003\340A\001\"\270\001\n\017R" 123 + "enewalSettings\022\026\n\016enable_renewal\030\001 \001(\010\022\031" 124 + "\n\021resize_unit_count\030\002 \001(\010\022:\n\014payment_pla" 125 + "n\030\005 \001(\0162$.google.cloud.channel.v1.Paymen" 126 + "tPlan\0226\n\rpayment_cycle\030\006 \001(\0132\037.google.cl" 127 + "oud.channel.v1.Period\"L\n\rTrialSettings\022\r" 128 + "\n\005trial\030\001 \001(\010\022,\n\010end_time\030\002 \001(\0132\032.google" 129 + ".protobuf.Timestamp\"\277\001\n\017TransferableSku\022" 130 + "J\n\024transfer_eligibility\030\t \001(\0132,.google.c" 131 + "loud.channel.v1.TransferEligibility\022)\n\003s" 132 + "ku\030\013 \001(\0132\034.google.cloud.channel.v1.Sku\0225" 133 + "\n\nlegacy_sku\030\014 \001(\0132\034.google.cloud.channe" 134 + "l.v1.SkuB\003\340A\001\"\371\001\n\023TransferEligibility\022\023\n" 135 + "\013is_eligible\030\001 \001(\010\022\023\n\013description\030\002 \001(\t\022" 136 + "Q\n\024ineligibility_reason\030\003 \001(\01623.google.c" 137 + "loud.channel.v1.TransferEligibility.Reas" 138 + "on\"e\n\006Reason\022\026\n\022REASON_UNSPECIFIED\020\000\022\032\n\026" 139 + "PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SKU_NOT_ELIG" 140 + "IBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Bi\n\033com.google." 141 + "cloud.channel.v1B\021EntitlementsProtoP\001Z5c" 142 + "loud.google.com/go/channel/apiv1/channel" 143 + "pb;channelpbb\006proto3" 144 }; 145 descriptor = 146 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 147 descriptorData, 148 new com.google.protobuf.Descriptors.FileDescriptor[] { 149 com.google.api.FieldBehaviorProto.getDescriptor(), 150 com.google.api.ResourceProto.getDescriptor(), 151 com.google.cloud.channel.v1.CommonProto.getDescriptor(), 152 com.google.cloud.channel.v1.OffersProto.getDescriptor(), 153 com.google.cloud.channel.v1.ProductsProto.getDescriptor(), 154 com.google.protobuf.TimestampProto.getDescriptor(), 155 }); 156 internal_static_google_cloud_channel_v1_Entitlement_descriptor = 157 getDescriptor().getMessageTypes().get(0); 158 internal_static_google_cloud_channel_v1_Entitlement_fieldAccessorTable = 159 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 160 internal_static_google_cloud_channel_v1_Entitlement_descriptor, 161 new java.lang.String[] { 162 "Name", 163 "CreateTime", 164 "UpdateTime", 165 "Offer", 166 "CommitmentSettings", 167 "ProvisioningState", 168 "ProvisionedService", 169 "SuspensionReasons", 170 "PurchaseOrderId", 171 "TrialSettings", 172 "AssociationInfo", 173 "Parameters", 174 "BillingAccount", 175 }); 176 internal_static_google_cloud_channel_v1_Parameter_descriptor = 177 getDescriptor().getMessageTypes().get(1); 178 internal_static_google_cloud_channel_v1_Parameter_fieldAccessorTable = 179 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 180 internal_static_google_cloud_channel_v1_Parameter_descriptor, 181 new java.lang.String[] { 182 "Name", "Value", "Editable", 183 }); 184 internal_static_google_cloud_channel_v1_AssociationInfo_descriptor = 185 getDescriptor().getMessageTypes().get(2); 186 internal_static_google_cloud_channel_v1_AssociationInfo_fieldAccessorTable = 187 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 188 internal_static_google_cloud_channel_v1_AssociationInfo_descriptor, 189 new java.lang.String[] { 190 "BaseEntitlement", 191 }); 192 internal_static_google_cloud_channel_v1_ProvisionedService_descriptor = 193 getDescriptor().getMessageTypes().get(3); 194 internal_static_google_cloud_channel_v1_ProvisionedService_fieldAccessorTable = 195 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 196 internal_static_google_cloud_channel_v1_ProvisionedService_descriptor, 197 new java.lang.String[] { 198 "ProvisioningId", "ProductId", "SkuId", 199 }); 200 internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor = 201 getDescriptor().getMessageTypes().get(4); 202 internal_static_google_cloud_channel_v1_CommitmentSettings_fieldAccessorTable = 203 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 204 internal_static_google_cloud_channel_v1_CommitmentSettings_descriptor, 205 new java.lang.String[] { 206 "StartTime", "EndTime", "RenewalSettings", 207 }); 208 internal_static_google_cloud_channel_v1_RenewalSettings_descriptor = 209 getDescriptor().getMessageTypes().get(5); 210 internal_static_google_cloud_channel_v1_RenewalSettings_fieldAccessorTable = 211 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 212 internal_static_google_cloud_channel_v1_RenewalSettings_descriptor, 213 new java.lang.String[] { 214 "EnableRenewal", "ResizeUnitCount", "PaymentPlan", "PaymentCycle", 215 }); 216 internal_static_google_cloud_channel_v1_TrialSettings_descriptor = 217 getDescriptor().getMessageTypes().get(6); 218 internal_static_google_cloud_channel_v1_TrialSettings_fieldAccessorTable = 219 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 220 internal_static_google_cloud_channel_v1_TrialSettings_descriptor, 221 new java.lang.String[] { 222 "Trial", "EndTime", 223 }); 224 internal_static_google_cloud_channel_v1_TransferableSku_descriptor = 225 getDescriptor().getMessageTypes().get(7); 226 internal_static_google_cloud_channel_v1_TransferableSku_fieldAccessorTable = 227 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 228 internal_static_google_cloud_channel_v1_TransferableSku_descriptor, 229 new java.lang.String[] { 230 "TransferEligibility", "Sku", "LegacySku", 231 }); 232 internal_static_google_cloud_channel_v1_TransferEligibility_descriptor = 233 getDescriptor().getMessageTypes().get(8); 234 internal_static_google_cloud_channel_v1_TransferEligibility_fieldAccessorTable = 235 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 236 internal_static_google_cloud_channel_v1_TransferEligibility_descriptor, 237 new java.lang.String[] { 238 "IsEligible", "Description", "IneligibilityReason", 239 }); 240 com.google.protobuf.ExtensionRegistry registry = 241 com.google.protobuf.ExtensionRegistry.newInstance(); 242 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 243 registry.add(com.google.api.ResourceProto.resource); 244 registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)245 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 246 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()247 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()248 com.google.api.ResourceProto.getDescriptor(); com.google.cloud.channel.v1.CommonProto.getDescriptor()249 com.google.cloud.channel.v1.CommonProto.getDescriptor(); com.google.cloud.channel.v1.OffersProto.getDescriptor()250 com.google.cloud.channel.v1.OffersProto.getDescriptor(); com.google.cloud.channel.v1.ProductsProto.getDescriptor()251 com.google.cloud.channel.v1.ProductsProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()252 com.google.protobuf.TimestampProto.getDescriptor(); 253 } 254 255 // @@protoc_insertion_point(outer_class_scope) 256 } 257