...

Source file src/google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1alpha/multiclusteringress.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1alpha

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

View as plain text