public enum SchemaView extends Enum<SchemaView> implements com.google.protobuf.ProtocolMessageEnum
View of Schema object fields to be returned by GetSchema and ListSchemas.Protobuf enum
google.pubsub.v1.SchemaView| Enum Constant and Description |
|---|
BASIC
Include the name and type of the schema, but not the definition.
|
FULL
Include all Schema object fields.
|
SCHEMA_VIEW_UNSPECIFIED
The default / unset value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_VALUE
Include the name and type of the schema, but not the definition.
|
static int |
FULL_VALUE
Include all Schema object fields.
|
static int |
SCHEMA_VIEW_UNSPECIFIED_VALUE
The default / unset value.
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaView |
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<SchemaView> |
internalGetValueMap() |
static SchemaView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SchemaView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SchemaView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaView SCHEMA_VIEW_UNSPECIFIED
The default / unset value. The API will default to the BASIC view.
SCHEMA_VIEW_UNSPECIFIED = 0;public static final SchemaView BASIC
Include the name and type of the schema, but not the definition.
BASIC = 1;public static final SchemaView FULL
Include all Schema object fields.
FULL = 2;public static final SchemaView UNRECOGNIZED
public static final int SCHEMA_VIEW_UNSPECIFIED_VALUE
The default / unset value. The API will default to the BASIC view.
SCHEMA_VIEW_UNSPECIFIED = 0;public static final int BASIC_VALUE
Include the name and type of the schema, but not the definition.
BASIC = 1;public static final int FULL_VALUE
Include all Schema object fields.
FULL = 2;public static SchemaView[] values()
for (SchemaView c : SchemaView.values()) System.out.println(c);
public static SchemaView 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 SchemaView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SchemaView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SchemaView> 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 SchemaView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.