public static enum ExplanationMetadata.InputMetadata.Visualization.OverlayType extends Enum<ExplanationMetadata.InputMetadata.Visualization.OverlayType> implements com.google.protobuf.ProtocolMessageEnum
How the original image is displayed in the visualization.Protobuf enum
google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.Visualization.OverlayType| Enum Constant and Description |
|---|
GRAYSCALE
The attributions are shown on top of grayscaled version of the
original image.
|
MASK_BLACK
The attributions are used as a mask to reveal predictive parts of
the image and hide the un-predictive parts.
|
NONE
No overlay.
|
ORIGINAL
The attributions are shown on top of the original image.
|
OVERLAY_TYPE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GRAYSCALE_VALUE
The attributions are shown on top of grayscaled version of the
original image.
|
static int |
MASK_BLACK_VALUE
The attributions are used as a mask to reveal predictive parts of
the image and hide the un-predictive parts.
|
static int |
NONE_VALUE
No overlay.
|
static int |
ORIGINAL_VALUE
The attributions are shown on top of the original image.
|
static int |
OVERLAY_TYPE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static ExplanationMetadata.InputMetadata.Visualization.OverlayType |
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.OverlayType> |
internalGetValueMap() |
static ExplanationMetadata.InputMetadata.Visualization.OverlayType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExplanationMetadata.InputMetadata.Visualization.OverlayType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExplanationMetadata.InputMetadata.Visualization.OverlayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExplanationMetadata.InputMetadata.Visualization.OverlayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExplanationMetadata.InputMetadata.Visualization.OverlayType OVERLAY_TYPE_UNSPECIFIED
Default value. This is the same as NONE.
OVERLAY_TYPE_UNSPECIFIED = 0;public static final ExplanationMetadata.InputMetadata.Visualization.OverlayType NONE
No overlay.
NONE = 1;public static final ExplanationMetadata.InputMetadata.Visualization.OverlayType ORIGINAL
The attributions are shown on top of the original image.
ORIGINAL = 2;public static final ExplanationMetadata.InputMetadata.Visualization.OverlayType GRAYSCALE
The attributions are shown on top of grayscaled version of the original image.
GRAYSCALE = 3;public static final ExplanationMetadata.InputMetadata.Visualization.OverlayType MASK_BLACK
The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts.
MASK_BLACK = 4;public static final ExplanationMetadata.InputMetadata.Visualization.OverlayType UNRECOGNIZED
public static final int OVERLAY_TYPE_UNSPECIFIED_VALUE
Default value. This is the same as NONE.
OVERLAY_TYPE_UNSPECIFIED = 0;public static final int NONE_VALUE
No overlay.
NONE = 1;public static final int ORIGINAL_VALUE
The attributions are shown on top of the original image.
ORIGINAL = 2;public static final int GRAYSCALE_VALUE
The attributions are shown on top of grayscaled version of the original image.
GRAYSCALE = 3;public static final int MASK_BLACK_VALUE
The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts.
MASK_BLACK = 4;public static ExplanationMetadata.InputMetadata.Visualization.OverlayType[] values()
for (ExplanationMetadata.InputMetadata.Visualization.OverlayType c : ExplanationMetadata.InputMetadata.Visualization.OverlayType.values()) System.out.println(c);
public static ExplanationMetadata.InputMetadata.Visualization.OverlayType 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.OverlayType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExplanationMetadata.InputMetadata.Visualization.OverlayType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExplanationMetadata.InputMetadata.Visualization.OverlayType> 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.OverlayType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.