Enum EntryType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EntryType>
@Generated
public enum EntryType
extends Enum<EntryType>
implements com.google.protobuf.ProtocolMessageEnum
Entry resources in Data Catalog can be of different types e.g. a BigQuery Table entry is of type `TABLE`. This enum describes all the possible types Data Catalog contains.Protobuf enum
google.cloud.datacatalog.v1beta1.EntryType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOutput only.Default unknown type.An entry type which is a set of files or objects.Output only.Output only. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOutput only.static final intDefault unknown type.static final intAn entry type which is a set of files or objects.static final intOutput only.static final intOutput only. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntryTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EntryType>static EntryTypevalueOf(int value) Deprecated.static EntryTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EntryTypeReturns the enum constant of this type with the specified name.static EntryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENTRY_TYPE_UNSPECIFIED
Default unknown type.
ENTRY_TYPE_UNSPECIFIED = 0; -
TABLE
Output only. The type of entry that has a GoogleSQL schema, including logical views.
TABLE = 2; -
MODEL
Output only. The type of models. https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
MODEL = 5; -
DATA_STREAM
Output only. An entry type which is used for streaming entries. Example: Pub/Sub topic.
DATA_STREAM = 3; -
FILESET
An entry type which is a set of files or objects. Example: Cloud Storage fileset.
FILESET = 4; -
UNRECOGNIZED
-
-
Field Details
-
ENTRY_TYPE_UNSPECIFIED_VALUE
public static final int ENTRY_TYPE_UNSPECIFIED_VALUEDefault unknown type.
ENTRY_TYPE_UNSPECIFIED = 0;- See Also:
-
TABLE_VALUE
public static final int TABLE_VALUEOutput only. The type of entry that has a GoogleSQL schema, including logical views.
TABLE = 2;- See Also:
-
MODEL_VALUE
public static final int MODEL_VALUEOutput only. The type of models. https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
MODEL = 5;- See Also:
-
DATA_STREAM_VALUE
public static final int DATA_STREAM_VALUEOutput only. An entry type which is used for streaming entries. Example: Pub/Sub topic.
DATA_STREAM = 3;- See Also:
-
FILESET_VALUE
public static final int FILESET_VALUEAn entry type which is a set of files or objects. Example: Cloud Storage fileset.
FILESET = 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 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
-