Enum Text.TextStyle.PointerLocation
java.lang.Object
java.lang.Enum<Text.TextStyle.PointerLocation>
com.google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Text.TextStyle.PointerLocation>
- Enclosing class:
- Text.TextStyle
public static enum Text.TextStyle.PointerLocation
extends Enum<Text.TextStyle.PointerLocation>
implements com.google.protobuf.ProtocolMessageEnum
Specifies where a visual pointer is placed on a text widget (also sometimes called a "tail")Protobuf enum
google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPlaced in the middle of the bottom of the widgetPlaced on the left side of the bottom of the widgetPlaced on the right side of the bottom of the widgetPlaced in the middle of the left side of the widgetPlaced on the bottom of the left side of the widgetPlaced on the top of the left side of the widgetPlaced in the middle of the right side of the widgetPlaced on the bottom of the right side of the widgetPlaced on the top of the right side of the widgetPlaced in the middle of the top of the widgetPlaced on the left side of the top of the widgetPlaced on the right side of the top of the widgetNo visual pointer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPlaced on the left side of the bottom of the widgetstatic final intPlaced on the right side of the bottom of the widgetstatic final intPlaced in the middle of the bottom of the widgetstatic final intPlaced on the bottom of the left side of the widgetstatic final intPlaced on the top of the left side of the widgetstatic final intPlaced in the middle of the left side of the widgetstatic final intPlaced on the bottom of the right side of the widgetstatic final intPlaced on the top of the right side of the widgetstatic final intPlaced in the middle of the right side of the widgetstatic final intPlaced on the left side of the top of the widgetstatic final intPlaced on the right side of the top of the widgetstatic final intPlaced in the middle of the top of the widgetstatic final intNo visual pointer -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Text.TextStyle.PointerLocation>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static Text.TextStyle.PointerLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
POINTER_LOCATION_UNSPECIFIED
No visual pointer
POINTER_LOCATION_UNSPECIFIED = 0; -
PL_TOP
Placed in the middle of the top of the widget
PL_TOP = 1; -
PL_RIGHT
Placed in the middle of the right side of the widget
PL_RIGHT = 2; -
PL_BOTTOM
Placed in the middle of the bottom of the widget
PL_BOTTOM = 3; -
PL_LEFT
Placed in the middle of the left side of the widget
PL_LEFT = 4; -
PL_TOP_LEFT
Placed on the left side of the top of the widget
PL_TOP_LEFT = 5; -
PL_TOP_RIGHT
Placed on the right side of the top of the widget
PL_TOP_RIGHT = 6; -
PL_RIGHT_TOP
Placed on the top of the right side of the widget
PL_RIGHT_TOP = 7; -
PL_RIGHT_BOTTOM
Placed on the bottom of the right side of the widget
PL_RIGHT_BOTTOM = 8; -
PL_BOTTOM_RIGHT
Placed on the right side of the bottom of the widget
PL_BOTTOM_RIGHT = 9; -
PL_BOTTOM_LEFT
Placed on the left side of the bottom of the widget
PL_BOTTOM_LEFT = 10; -
PL_LEFT_BOTTOM
Placed on the bottom of the left side of the widget
PL_LEFT_BOTTOM = 11; -
PL_LEFT_TOP
Placed on the top of the left side of the widget
PL_LEFT_TOP = 12; -
UNRECOGNIZED
-
-
Field Details
-
POINTER_LOCATION_UNSPECIFIED_VALUE
public static final int POINTER_LOCATION_UNSPECIFIED_VALUENo visual pointer
POINTER_LOCATION_UNSPECIFIED = 0;- See Also:
-
PL_TOP_VALUE
public static final int PL_TOP_VALUEPlaced in the middle of the top of the widget
PL_TOP = 1;- See Also:
-
PL_RIGHT_VALUE
public static final int PL_RIGHT_VALUEPlaced in the middle of the right side of the widget
PL_RIGHT = 2;- See Also:
-
PL_BOTTOM_VALUE
public static final int PL_BOTTOM_VALUEPlaced in the middle of the bottom of the widget
PL_BOTTOM = 3;- See Also:
-
PL_LEFT_VALUE
public static final int PL_LEFT_VALUEPlaced in the middle of the left side of the widget
PL_LEFT = 4;- See Also:
-
PL_TOP_LEFT_VALUE
public static final int PL_TOP_LEFT_VALUEPlaced on the left side of the top of the widget
PL_TOP_LEFT = 5;- See Also:
-
PL_TOP_RIGHT_VALUE
public static final int PL_TOP_RIGHT_VALUEPlaced on the right side of the top of the widget
PL_TOP_RIGHT = 6;- See Also:
-
PL_RIGHT_TOP_VALUE
public static final int PL_RIGHT_TOP_VALUEPlaced on the top of the right side of the widget
PL_RIGHT_TOP = 7;- See Also:
-
PL_RIGHT_BOTTOM_VALUE
public static final int PL_RIGHT_BOTTOM_VALUEPlaced on the bottom of the right side of the widget
PL_RIGHT_BOTTOM = 8;- See Also:
-
PL_BOTTOM_RIGHT_VALUE
public static final int PL_BOTTOM_RIGHT_VALUEPlaced on the right side of the bottom of the widget
PL_BOTTOM_RIGHT = 9;- See Also:
-
PL_BOTTOM_LEFT_VALUE
public static final int PL_BOTTOM_LEFT_VALUEPlaced on the left side of the bottom of the widget
PL_BOTTOM_LEFT = 10;- See Also:
-
PL_LEFT_BOTTOM_VALUE
public static final int PL_LEFT_BOTTOM_VALUEPlaced on the bottom of the left side of the widget
PL_LEFT_BOTTOM = 11;- See Also:
-
PL_LEFT_TOP_VALUE
public static final int PL_LEFT_TOP_VALUEPlaced on the top of the left side of the widget
PL_LEFT_TOP = 12;- 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
public static com.google.protobuf.Internal.EnumLiteMap<Text.TextStyle.PointerLocation> 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
public static Text.TextStyle.PointerLocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-