1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/gkehub/v1alpha/multiclusteringress/multiclusteringress.proto 20 21package multiclusteringress 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37) 38 39// Billing identifies which billing structure the customer is using. 40type Billing int32 41 42const ( 43 // Unknown 44 Billing_BILLING_UNSPECIFIED Billing = 0 45 // User pays a fee per-endpoint. 46 Billing_PAY_AS_YOU_GO Billing = 1 47 // User is paying for Anthos as a whole. 48 Billing_ANTHOS_LICENSE Billing = 2 49) 50 51// Enum value maps for Billing. 52var ( 53 Billing_name = map[int32]string{ 54 0: "BILLING_UNSPECIFIED", 55 1: "PAY_AS_YOU_GO", 56 2: "ANTHOS_LICENSE", 57 } 58 Billing_value = map[string]int32{ 59 "BILLING_UNSPECIFIED": 0, 60 "PAY_AS_YOU_GO": 1, 61 "ANTHOS_LICENSE": 2, 62 } 63) 64 65func (x Billing) Enum() *Billing { 66 p := new(Billing) 67 *p = x 68 return p 69} 70 71func (x Billing) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73} 74 75func (Billing) Descriptor() protoreflect.EnumDescriptor { 76 return file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_enumTypes[0].Descriptor() 77} 78 79func (Billing) Type() protoreflect.EnumType { 80 return &file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_enumTypes[0] 81} 82 83func (x Billing) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85} 86 87// Deprecated: Use Billing.Descriptor instead. 88func (Billing) EnumDescriptor() ([]byte, []int) { 89 return file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescGZIP(), []int{0} 90} 91 92// **Multi-cluster Ingress**: The configuration for the MultiClusterIngress 93// feature. 94type FeatureSpec struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 // Fully-qualified Membership name which hosts the MultiClusterIngress CRD. 100 // Example: `projects/foo-proj/locations/global/memberships/bar` 101 ConfigMembership string `protobuf:"bytes,1,opt,name=config_membership,json=configMembership,proto3" json:"config_membership,omitempty"` 102 // Customer's billing structure 103 Billing Billing `protobuf:"varint,2,opt,name=billing,proto3,enum=google.cloud.gkehub.multiclusteringress.v1alpha.Billing" json:"billing,omitempty"` 104} 105 106func (x *FeatureSpec) Reset() { 107 *x = FeatureSpec{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_msgTypes[0] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113} 114 115func (x *FeatureSpec) String() string { 116 return protoimpl.X.MessageStringOf(x) 117} 118 119func (*FeatureSpec) ProtoMessage() {} 120 121func (x *FeatureSpec) ProtoReflect() protoreflect.Message { 122 mi := &file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_msgTypes[0] 123 if protoimpl.UnsafeEnabled && x != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(x) 131} 132 133// Deprecated: Use FeatureSpec.ProtoReflect.Descriptor instead. 134func (*FeatureSpec) Descriptor() ([]byte, []int) { 135 return file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescGZIP(), []int{0} 136} 137 138func (x *FeatureSpec) GetConfigMembership() string { 139 if x != nil { 140 return x.ConfigMembership 141 } 142 return "" 143} 144 145func (x *FeatureSpec) GetBilling() Billing { 146 if x != nil { 147 return x.Billing 148 } 149 return Billing_BILLING_UNSPECIFIED 150} 151 152var File_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto protoreflect.FileDescriptor 153 154var file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDesc = []byte{ 155 0x0a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 156 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x75, 157 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 158 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 159 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x67, 0x6f, 0x6f, 160 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 161 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 162 0x72, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 163 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 164 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x0b, 0x46, 165 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 166 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x18, 167 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x6d, 168 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x52, 0x0a, 0x07, 0x62, 0x69, 0x6c, 0x6c, 0x69, 169 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 170 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x6d, 171 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 172 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 173 0x6e, 0x67, 0x52, 0x07, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2a, 0x49, 0x0a, 0x07, 0x42, 174 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x13, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 175 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 176 0x11, 0x0a, 0x0d, 0x50, 0x41, 0x59, 0x5f, 0x41, 0x53, 0x5f, 0x59, 0x4f, 0x55, 0x5f, 0x47, 0x4f, 177 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x4e, 0x54, 0x48, 0x4f, 0x53, 0x5f, 0x4c, 0x49, 0x43, 178 0x45, 0x4e, 0x53, 0x45, 0x10, 0x02, 0x42, 0xcf, 0x02, 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 179 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 180 0x75, 0x62, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 181 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x18, 182 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 183 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 184 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 185 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 186 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x6d, 187 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 188 0x73, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 189 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0xaa, 0x02, 190 0x2f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 191 0x65, 0x48, 0x75, 0x62, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 192 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 193 0xca, 0x02, 0x2f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 194 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x5c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 195 0x74, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 196 0x68, 0x61, 0xea, 0x02, 0x33, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 197 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x4d, 0x75, 0x6c, 0x74, 198 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x3a, 199 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 200} 201 202var ( 203 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescOnce sync.Once 204 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescData = file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDesc 205) 206 207func file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescGZIP() []byte { 208 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescOnce.Do(func() { 209 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescData) 210 }) 211 return file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDescData 212} 213 214var file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 215var file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 216var file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_goTypes = []interface{}{ 217 (Billing)(0), // 0: google.cloud.gkehub.multiclusteringress.v1alpha.Billing 218 (*FeatureSpec)(nil), // 1: google.cloud.gkehub.multiclusteringress.v1alpha.FeatureSpec 219} 220var file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_depIdxs = []int32{ 221 0, // 0: google.cloud.gkehub.multiclusteringress.v1alpha.FeatureSpec.billing:type_name -> google.cloud.gkehub.multiclusteringress.v1alpha.Billing 222 1, // [1:1] is the sub-list for method output_type 223 1, // [1:1] is the sub-list for method input_type 224 1, // [1:1] is the sub-list for extension type_name 225 1, // [1:1] is the sub-list for extension extendee 226 0, // [0:1] is the sub-list for field type_name 227} 228 229func init() { file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_init() } 230func file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_init() { 231 if File_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto != nil { 232 return 233 } 234 if !protoimpl.UnsafeEnabled { 235 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 236 switch v := v.(*FeatureSpec); i { 237 case 0: 238 return &v.state 239 case 1: 240 return &v.sizeCache 241 case 2: 242 return &v.unknownFields 243 default: 244 return nil 245 } 246 } 247 } 248 type x struct{} 249 out := protoimpl.TypeBuilder{ 250 File: protoimpl.DescBuilder{ 251 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 252 RawDescriptor: file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDesc, 253 NumEnums: 1, 254 NumMessages: 1, 255 NumExtensions: 0, 256 NumServices: 0, 257 }, 258 GoTypes: file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_goTypes, 259 DependencyIndexes: file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_depIdxs, 260 EnumInfos: file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_enumTypes, 261 MessageInfos: file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_msgTypes, 262 }.Build() 263 File_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto = out.File 264 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_rawDesc = nil 265 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_goTypes = nil 266 file_google_cloud_gkehub_v1alpha_multiclusteringress_multiclusteringress_proto_depIdxs = nil 267} 268