Package com.google.cloud.chronicle.v1
Enum TileType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TileType>
@Generated
public enum TileType
extends Enum<TileType>
implements com.google.protobuf.ProtocolMessageEnum
TileType indicates what type of chart tile it is i.e., visualization chart, button or text.Protobuf enum
google.cloud.chronicle.v1.TileType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionButton with hyperlink.Markdown tile.Defaults to VISUALIZATION.Visualization i.e., bar charts, pie charts etc. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intButton with hyperlink.static final intMarkdown tile.static final intDefaults to VISUALIZATION.static final intVisualization i.e., bar charts, pie charts etc. -
Method Summary
Modifier and TypeMethodDescriptionstatic TileTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TileType>static TileTypevalueOf(int value) Deprecated.static TileTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TileTypeReturns the enum constant of this type with the specified name.static TileType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TILE_TYPE_UNSPECIFIED
Defaults to VISUALIZATION.
TILE_TYPE_UNSPECIFIED = 0; -
TILE_TYPE_VISUALIZATION
Visualization i.e., bar charts, pie charts etc.
TILE_TYPE_VISUALIZATION = 1; -
TILE_TYPE_BUTTON
Button with hyperlink.
TILE_TYPE_BUTTON = 2; -
TILE_TYPE_MARKDOWN
Markdown tile.
TILE_TYPE_MARKDOWN = 3; -
UNRECOGNIZED
-
-
Field Details
-
TILE_TYPE_UNSPECIFIED_VALUE
public static final int TILE_TYPE_UNSPECIFIED_VALUEDefaults to VISUALIZATION.
TILE_TYPE_UNSPECIFIED = 0;- See Also:
-
TILE_TYPE_VISUALIZATION_VALUE
public static final int TILE_TYPE_VISUALIZATION_VALUEVisualization i.e., bar charts, pie charts etc.
TILE_TYPE_VISUALIZATION = 1;- See Also:
-
TILE_TYPE_BUTTON_VALUE
public static final int TILE_TYPE_BUTTON_VALUEButton with hyperlink.
TILE_TYPE_BUTTON = 2;- See Also:
-
TILE_TYPE_MARKDOWN_VALUE
public static final int TILE_TYPE_MARKDOWN_VALUEMarkdown tile.
TILE_TYPE_MARKDOWN = 3;- 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
-