public enum InstanceView extends Enum<InstanceView> implements com.google.protobuf.ProtocolMessageEnum
View on Instance. Pass this enum to rpcs that returns an Instance message to control which subsets of fields to get.Protobuf enum
google.cloud.alloydb.v1.InstanceView| Enum Constant and Description |
|---|
INSTANCE_VIEW_BASIC
BASIC server responses for a primary or read instance include all the
relevant instance details, excluding the details of each node in the
instance.
|
INSTANCE_VIEW_FULL
FULL response is equivalent to BASIC for primary instance (for now).
|
INSTANCE_VIEW_UNSPECIFIED
INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INSTANCE_VIEW_BASIC_VALUE
BASIC server responses for a primary or read instance include all the
relevant instance details, excluding the details of each node in the
instance.
|
static int |
INSTANCE_VIEW_FULL_VALUE
FULL response is equivalent to BASIC for primary instance (for now).
|
static int |
INSTANCE_VIEW_UNSPECIFIED_VALUE
INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceView |
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<InstanceView> |
internalGetValueMap() |
static InstanceView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InstanceView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InstanceView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceView INSTANCE_VIEW_UNSPECIFIED
INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
INSTANCE_VIEW_UNSPECIFIED = 0;public static final InstanceView INSTANCE_VIEW_BASIC
BASIC server responses for a primary or read instance include all the relevant instance details, excluding the details of each node in the instance. The default value.
INSTANCE_VIEW_BASIC = 1;public static final InstanceView INSTANCE_VIEW_FULL
FULL response is equivalent to BASIC for primary instance (for now). For read pool instance, this includes details of each node in the pool.
INSTANCE_VIEW_FULL = 2;public static final InstanceView UNRECOGNIZED
public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE
INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
INSTANCE_VIEW_UNSPECIFIED = 0;public static final int INSTANCE_VIEW_BASIC_VALUE
BASIC server responses for a primary or read instance include all the relevant instance details, excluding the details of each node in the instance. The default value.
INSTANCE_VIEW_BASIC = 1;public static final int INSTANCE_VIEW_FULL_VALUE
FULL response is equivalent to BASIC for primary instance (for now). For read pool instance, this includes details of each node in the pool.
INSTANCE_VIEW_FULL = 2;public static InstanceView[] values()
for (InstanceView c : InstanceView.values()) System.out.println(c);
public static InstanceView 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 InstanceView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InstanceView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InstanceView> 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 InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.