public static enum ListAssetsResponse.ListAssetsResult.State extends Enum<ListAssetsResponse.ListAssetsResult.State> implements com.google.protobuf.ProtocolMessageEnum
State of the asset. When querying across two points in time this describes the change between the two points: ADDED, REMOVED, or ACTIVE. If there was no compare_duration supplied in the request the state should be: UNUSEDProtobuf enum
google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State| Enum Constant and Description |
|---|
ACTIVE
Asset was active at both point(s) in time.
|
ADDED
Asset was added between the points in time.
|
REMOVED
Asset was removed between the points in time.
|
STATE_UNSPECIFIED
Unspecified state.
|
UNRECOGNIZED |
UNUSED
Request did not specify use of this field in the result.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Asset was active at both point(s) in time.
|
static int |
ADDED_VALUE
Asset was added between the points in time.
|
static int |
REMOVED_VALUE
Asset was removed between the points in time.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified state.
|
static int |
UNUSED_VALUE
Request did not specify use of this field in the result.
|
| Modifier and Type | Method and Description |
|---|---|
static ListAssetsResponse.ListAssetsResult.State |
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<ListAssetsResponse.ListAssetsResult.State> |
internalGetValueMap() |
static ListAssetsResponse.ListAssetsResult.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListAssetsResponse.ListAssetsResult.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListAssetsResponse.ListAssetsResult.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAssetsResponse.ListAssetsResult.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAssetsResponse.ListAssetsResult.State STATE_UNSPECIFIED
Unspecified state.
STATE_UNSPECIFIED = 0;public static final ListAssetsResponse.ListAssetsResult.State UNUSED
Request did not specify use of this field in the result.
UNUSED = 1;public static final ListAssetsResponse.ListAssetsResult.State ADDED
Asset was added between the points in time.
ADDED = 2;public static final ListAssetsResponse.ListAssetsResult.State REMOVED
Asset was removed between the points in time.
REMOVED = 3;public static final ListAssetsResponse.ListAssetsResult.State ACTIVE
Asset was active at both point(s) in time.
ACTIVE = 4;public static final ListAssetsResponse.ListAssetsResult.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified state.
STATE_UNSPECIFIED = 0;public static final int UNUSED_VALUE
Request did not specify use of this field in the result.
UNUSED = 1;public static final int ADDED_VALUE
Asset was added between the points in time.
ADDED = 2;public static final int REMOVED_VALUE
Asset was removed between the points in time.
REMOVED = 3;public static final int ACTIVE_VALUE
Asset was active at both point(s) in time.
ACTIVE = 4;public static ListAssetsResponse.ListAssetsResult.State[] values()
for (ListAssetsResponse.ListAssetsResult.State c : ListAssetsResponse.ListAssetsResult.State.values()) System.out.println(c);
public static ListAssetsResponse.ListAssetsResult.State 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 ListAssetsResponse.ListAssetsResult.State valueOf(int value)
forNumber(int) instead.public static ListAssetsResponse.ListAssetsResult.State forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ListAssetsResponse.ListAssetsResult.State> 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 ListAssetsResponse.ListAssetsResult.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.