public enum ClusterView extends Enum<ClusterView> implements com.google.protobuf.ProtocolMessageEnum
View on Cluster. Pass this enum to rpcs that returns a cluster message to control which subsets of fields to get.Protobuf enum
google.cloud.alloydb.v1.ClusterView| Enum Constant and Description |
|---|
CLUSTER_VIEW_BASIC
BASIC server responses include all the relevant cluster details, excluding
Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
fields.
|
CLUSTER_VIEW_CONTINUOUS_BACKUP
CONTINUOUS_BACKUP response returns all the fields from BASIC plus
the earliest restorable time if continuous backups are enabled.
|
CLUSTER_VIEW_UNSPECIFIED
CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_VIEW_BASIC_VALUE
BASIC server responses include all the relevant cluster details, excluding
Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
fields.
|
static int |
CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE
CONTINUOUS_BACKUP response returns all the fields from BASIC plus
the earliest restorable time if continuous backups are enabled.
|
static int |
CLUSTER_VIEW_UNSPECIFIED_VALUE
CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterView |
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<ClusterView> |
internalGetValueMap() |
static ClusterView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClusterView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClusterView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterView CLUSTER_VIEW_UNSPECIFIED
CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
CLUSTER_VIEW_UNSPECIFIED = 0;public static final ClusterView CLUSTER_VIEW_BASIC
BASIC server responses include all the relevant cluster details, excluding Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific fields. The default value.
CLUSTER_VIEW_BASIC = 1;public static final ClusterView CLUSTER_VIEW_CONTINUOUS_BACKUP
CONTINUOUS_BACKUP response returns all the fields from BASIC plus the earliest restorable time if continuous backups are enabled. May increase latency.
CLUSTER_VIEW_CONTINUOUS_BACKUP = 2;public static final ClusterView UNRECOGNIZED
public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE
CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
CLUSTER_VIEW_UNSPECIFIED = 0;public static final int CLUSTER_VIEW_BASIC_VALUE
BASIC server responses include all the relevant cluster details, excluding Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific fields. The default value.
CLUSTER_VIEW_BASIC = 1;public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE
CONTINUOUS_BACKUP response returns all the fields from BASIC plus the earliest restorable time if continuous backups are enabled. May increase latency.
CLUSTER_VIEW_CONTINUOUS_BACKUP = 2;public static ClusterView[] values()
for (ClusterView c : ClusterView.values()) System.out.println(c);
public static ClusterView 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 ClusterView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ClusterView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ClusterView> 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 ClusterView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.