Package com.google.bigtable.admin.v2
Enum Table.View
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Table.View>
- Enclosing class:
- Table
public static enum Table.View
extends Enum<Table.View>
implements com.google.protobuf.ProtocolMessageEnum
Defines a view over a table's fields.Protobuf enum
google.bigtable.admin.v2.Table.View-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly populates `name` and fields related to the table's encryption state.Populates all fields.Only populates `name`.Only populates `name` and fields related to the table's replication state.Only populates `name` and fields related to the table's schema.Uses the default view for each method as documented in its request. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOnly populates `name` and fields related to the table's encryption state.static final intPopulates all fields.static final intOnly populates `name`.static final intOnly populates `name` and fields related to the table's replication state.static final intOnly populates `name` and fields related to the table's schema.static final intUses the default view for each method as documented in its request. -
Method Summary
Modifier and TypeMethodDescriptionstatic Table.ViewforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Table.View>static Table.ViewvalueOf(int value) Deprecated.static Table.ViewvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Table.ViewReturns the enum constant of this type with the specified name.static Table.View[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VIEW_UNSPECIFIED
Uses the default view for each method as documented in its request.
VIEW_UNSPECIFIED = 0; -
NAME_ONLY
Only populates `name`.
NAME_ONLY = 1; -
SCHEMA_VIEW
Only populates `name` and fields related to the table's schema.
SCHEMA_VIEW = 2; -
REPLICATION_VIEW
Only populates `name` and fields related to the table's replication state.
REPLICATION_VIEW = 3; -
ENCRYPTION_VIEW
Only populates `name` and fields related to the table's encryption state.
ENCRYPTION_VIEW = 5; -
FULL
Populates all fields.
FULL = 4; -
UNRECOGNIZED
-
-
Field Details
-
VIEW_UNSPECIFIED_VALUE
public static final int VIEW_UNSPECIFIED_VALUEUses the default view for each method as documented in its request.
VIEW_UNSPECIFIED = 0;- See Also:
-
NAME_ONLY_VALUE
public static final int NAME_ONLY_VALUEOnly populates `name`.
NAME_ONLY = 1;- See Also:
-
SCHEMA_VIEW_VALUE
public static final int SCHEMA_VIEW_VALUEOnly populates `name` and fields related to the table's schema.
SCHEMA_VIEW = 2;- See Also:
-
REPLICATION_VIEW_VALUE
public static final int REPLICATION_VIEW_VALUEOnly populates `name` and fields related to the table's replication state.
REPLICATION_VIEW = 3;- See Also:
-
ENCRYPTION_VIEW_VALUE
public static final int ENCRYPTION_VIEW_VALUEOnly populates `name` and fields related to the table's encryption state.
ENCRYPTION_VIEW = 5;- See Also:
-
FULL_VALUE
public static final int FULL_VALUEPopulates all fields.
FULL = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-