...

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

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

     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/v1beta/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_v1beta_multiclusteringress_multiclusteringress_proto_enumTypes[0].Descriptor()
    76  }
    77  
    78  func (Billing) Type() protoreflect.EnumType {
    79  	return &file_google_cloud_gkehub_v1beta_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_v1beta_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.v1beta.Billing" json:"billing,omitempty"`
   103  }
   104  
   105  func (x *FeatureSpec) Reset() {
   106  	*x = FeatureSpec{}
   107  	if protoimpl.UnsafeEnabled {
   108  		mi := &file_google_cloud_gkehub_v1beta_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_v1beta_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_v1beta_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_v1beta_multiclusteringress_multiclusteringress_proto protoreflect.FileDescriptor
   152  
   153  var file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDesc = []byte{
   154  	0x0a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
   155  	0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x75, 0x6c,
   156  	0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73,
   157  	0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67,
   158  	0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   159  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e,
   160  	0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72,
   161  	0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x22, 0x8d, 0x01, 0x0a, 0x0b, 0x46,
   162  	0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f,
   163  	0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x18,
   164  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x65, 0x6d,
   165  	0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x51, 0x0a, 0x07, 0x62, 0x69, 0x6c, 0x6c, 0x69,
   166  	0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   167  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x6d,
   168  	0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65,
   169  	0x73, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e,
   170  	0x67, 0x52, 0x07, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x2a, 0x49, 0x0a, 0x07, 0x42, 0x69,
   171  	0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x13, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47,
   172  	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11,
   173  	0x0a, 0x0d, 0x50, 0x41, 0x59, 0x5f, 0x41, 0x53, 0x5f, 0x59, 0x4f, 0x55, 0x5f, 0x47, 0x4f, 0x10,
   174  	0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x4e, 0x54, 0x48, 0x4f, 0x53, 0x5f, 0x4c, 0x49, 0x43, 0x45,
   175  	0x4e, 0x53, 0x45, 0x10, 0x02, 0x42, 0xca, 0x02, 0x0a, 0x32, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
   176  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75,
   177  	0x62, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e,
   178  	0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x18, 0x4d, 0x75,
   179  	0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73,
   180  	0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x61, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   181  	0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
   182  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
   183  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x6d, 0x75, 0x6c,
   184  	0x74, 0x69, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73,
   185  	0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x63, 0x6c, 0x75,
   186  	0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x2e, 0x47, 0x6f,
   187  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x48, 0x75,
   188  	0x62, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e,
   189  	0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x2e, 0x47,
   190  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x48,
   191  	0x75, 0x62, 0x5c, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
   192  	0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x32,
   193  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47,
   194  	0x6b, 0x65, 0x48, 0x75, 0x62, 0x3a, 0x3a, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73,
   195  	0x74, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65,
   196  	0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   197  }
   198  
   199  var (
   200  	file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescOnce sync.Once
   201  	file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescData = file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDesc
   202  )
   203  
   204  func file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescGZIP() []byte {
   205  	file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescOnce.Do(func() {
   206  		file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescData)
   207  	})
   208  	return file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDescData
   209  }
   210  
   211  var file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   212  var file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   213  var file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_goTypes = []interface{}{
   214  	(Billing)(0),        // 0: google.cloud.gkehub.multiclusteringress.v1beta.Billing
   215  	(*FeatureSpec)(nil), // 1: google.cloud.gkehub.multiclusteringress.v1beta.FeatureSpec
   216  }
   217  var file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_depIdxs = []int32{
   218  	0, // 0: google.cloud.gkehub.multiclusteringress.v1beta.FeatureSpec.billing:type_name -> google.cloud.gkehub.multiclusteringress.v1beta.Billing
   219  	1, // [1:1] is the sub-list for method output_type
   220  	1, // [1:1] is the sub-list for method input_type
   221  	1, // [1:1] is the sub-list for extension type_name
   222  	1, // [1:1] is the sub-list for extension extendee
   223  	0, // [0:1] is the sub-list for field type_name
   224  }
   225  
   226  func init() { file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_init() }
   227  func file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_init() {
   228  	if File_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto != nil {
   229  		return
   230  	}
   231  	if !protoimpl.UnsafeEnabled {
   232  		file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   233  			switch v := v.(*FeatureSpec); i {
   234  			case 0:
   235  				return &v.state
   236  			case 1:
   237  				return &v.sizeCache
   238  			case 2:
   239  				return &v.unknownFields
   240  			default:
   241  				return nil
   242  			}
   243  		}
   244  	}
   245  	type x struct{}
   246  	out := protoimpl.TypeBuilder{
   247  		File: protoimpl.DescBuilder{
   248  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   249  			RawDescriptor: file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDesc,
   250  			NumEnums:      1,
   251  			NumMessages:   1,
   252  			NumExtensions: 0,
   253  			NumServices:   0,
   254  		},
   255  		GoTypes:           file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_goTypes,
   256  		DependencyIndexes: file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_depIdxs,
   257  		EnumInfos:         file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_enumTypes,
   258  		MessageInfos:      file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_msgTypes,
   259  	}.Build()
   260  	File_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto = out.File
   261  	file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_rawDesc = nil
   262  	file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_goTypes = nil
   263  	file_google_cloud_gkehub_v1beta_multiclusteringress_multiclusteringress_proto_depIdxs = nil
   264  }
   265  

View as plain text