public static enum ExplanationMetadata.InputMetadata.Visualization.ColorMap extends Enum<ExplanationMetadata.InputMetadata.Visualization.ColorMap> implements com.google.protobuf.ProtocolMessageEnum
The color scheme used for highlighting areas.Protobuf enum
google.cloud.vertexai.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap| Enum Constant and Description |
|---|
COLOR_MAP_UNSPECIFIED
Should not be used.
|
GREEN
Positive: green.
|
PINK_GREEN
Positive: green.
|
PINK_WHITE_GREEN
PiYG palette.
|
RED
Positive: red.
|
RED_GREEN
Positive: green.
|
UNRECOGNIZED |
VIRIDIS
Viridis color map: A perceptually uniform color mapping which is
easier to see by those with colorblindness and progresses from yellow
to green to blue.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
COLOR_MAP_UNSPECIFIED_VALUE
Should not be used.
|
static int |
GREEN_VALUE
Positive: green.
|
static int |
PINK_GREEN_VALUE
Positive: green.
|
static int |
PINK_WHITE_GREEN_VALUE
PiYG palette.
|
static int |
RED_GREEN_VALUE
Positive: green.
|
static int |
RED_VALUE
Positive: red.
|
static int |
VIRIDIS_VALUE
Viridis color map: A perceptually uniform color mapping which is
easier to see by those with colorblindness and progresses from yellow
to green to blue.
|
| Modifier and Type | Method and Description |
|---|---|
static ExplanationMetadata.InputMetadata.Visualization.ColorMap |
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<ExplanationMetadata.InputMetadata.Visualization.ColorMap> |
internalGetValueMap() |
static ExplanationMetadata.InputMetadata.Visualization.ColorMap |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExplanationMetadata.InputMetadata.Visualization.ColorMap |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExplanationMetadata.InputMetadata.Visualization.ColorMap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExplanationMetadata.InputMetadata.Visualization.ColorMap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap COLOR_MAP_UNSPECIFIED
Should not be used.
COLOR_MAP_UNSPECIFIED = 0;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap PINK_GREEN
Positive: green. Negative: pink.
PINK_GREEN = 1;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap VIRIDIS
Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.
VIRIDIS = 2;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap RED
Positive: red. Negative: red.
RED = 3;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap GREEN
Positive: green. Negative: green.
GREEN = 4;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap RED_GREEN
Positive: green. Negative: red.
RED_GREEN = 6;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap PINK_WHITE_GREEN
PiYG palette.
PINK_WHITE_GREEN = 5;public static final ExplanationMetadata.InputMetadata.Visualization.ColorMap UNRECOGNIZED
public static final int COLOR_MAP_UNSPECIFIED_VALUE
Should not be used.
COLOR_MAP_UNSPECIFIED = 0;public static final int PINK_GREEN_VALUE
Positive: green. Negative: pink.
PINK_GREEN = 1;public static final int VIRIDIS_VALUE
Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.
VIRIDIS = 2;public static final int RED_VALUE
Positive: red. Negative: red.
RED = 3;public static final int GREEN_VALUE
Positive: green. Negative: green.
GREEN = 4;public static final int RED_GREEN_VALUE
Positive: green. Negative: red.
RED_GREEN = 6;public static final int PINK_WHITE_GREEN_VALUE
PiYG palette.
PINK_WHITE_GREEN = 5;public static ExplanationMetadata.InputMetadata.Visualization.ColorMap[] values()
for (ExplanationMetadata.InputMetadata.Visualization.ColorMap c : ExplanationMetadata.InputMetadata.Visualization.ColorMap.values()) System.out.println(c);
public static ExplanationMetadata.InputMetadata.Visualization.ColorMap 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 ExplanationMetadata.InputMetadata.Visualization.ColorMap valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExplanationMetadata.InputMetadata.Visualization.ColorMap forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExplanationMetadata.InputMetadata.Visualization.ColorMap> 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 ExplanationMetadata.InputMetadata.Visualization.ColorMap valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.