public static enum Membership.InfrastructureType extends Enum<Membership.InfrastructureType> implements com.google.protobuf.ProtocolMessageEnum
Specifies the infrastructure type of a Membership. Infrastructure type is used by Hub to control infrastructure-specific behavior, including pricing. Each GKE distribution (on-GCP, on-Prem, on-X,...) will set this field automatically, but Attached Clusters customers should specify a type during registration.Protobuf enum
google.cloud.gkehub.v1beta1.Membership.InfrastructureType| Enum Constant and Description |
|---|
INFRASTRUCTURE_TYPE_UNSPECIFIED
No type was specified.
|
MULTI_CLOUD
Public cloud infrastructure.
|
ON_PREM
Private infrastructure that is owned or operated by customer.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INFRASTRUCTURE_TYPE_UNSPECIFIED_VALUE
No type was specified.
|
static int |
MULTI_CLOUD_VALUE
Public cloud infrastructure.
|
static int |
ON_PREM_VALUE
Private infrastructure that is owned or operated by customer.
|
| Modifier and Type | Method and Description |
|---|---|
static Membership.InfrastructureType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Membership.InfrastructureType> |
internalGetValueMap() |
static Membership.InfrastructureType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Membership.InfrastructureType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Membership.InfrastructureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Membership.InfrastructureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Membership.InfrastructureType INFRASTRUCTURE_TYPE_UNSPECIFIED
No type was specified. Some Hub functionality may require a type be specified, and will not support Memberships with this value.
INFRASTRUCTURE_TYPE_UNSPECIFIED = 0;public static final Membership.InfrastructureType ON_PREM
Private infrastructure that is owned or operated by customer. This includes GKE distributions such as GKE-OnPrem and GKE-OnBareMetal.
ON_PREM = 1;public static final Membership.InfrastructureType MULTI_CLOUD
Public cloud infrastructure.
MULTI_CLOUD = 2;public static final Membership.InfrastructureType UNRECOGNIZED
public static final int INFRASTRUCTURE_TYPE_UNSPECIFIED_VALUE
No type was specified. Some Hub functionality may require a type be specified, and will not support Memberships with this value.
INFRASTRUCTURE_TYPE_UNSPECIFIED = 0;public static final int ON_PREM_VALUE
Private infrastructure that is owned or operated by customer. This includes GKE distributions such as GKE-OnPrem and GKE-OnBareMetal.
ON_PREM = 1;public static final int MULTI_CLOUD_VALUE
Public cloud infrastructure.
MULTI_CLOUD = 2;public static Membership.InfrastructureType[] values()
for (Membership.InfrastructureType c : Membership.InfrastructureType.values()) System.out.println(c);
public static Membership.InfrastructureType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Membership.InfrastructureType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Membership.InfrastructureType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Membership.InfrastructureType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Membership.InfrastructureType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.