public static enum PurgeProductsRequest.TargetCase extends Enum<PurgeProductsRequest.TargetCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
DELETE_ORPHAN_PRODUCTS |
PRODUCT_SET_PURGE_CONFIG |
TARGET_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static PurgeProductsRequest.TargetCase |
forNumber(int value) |
int |
getNumber() |
static PurgeProductsRequest.TargetCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PurgeProductsRequest.TargetCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurgeProductsRequest.TargetCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurgeProductsRequest.TargetCase PRODUCT_SET_PURGE_CONFIG
public static final PurgeProductsRequest.TargetCase DELETE_ORPHAN_PRODUCTS
public static final PurgeProductsRequest.TargetCase TARGET_NOT_SET
public static PurgeProductsRequest.TargetCase[] values()
for (PurgeProductsRequest.TargetCase c : PurgeProductsRequest.TargetCase.values()) System.out.println(c);
public static PurgeProductsRequest.TargetCase 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 null@Deprecated public static PurgeProductsRequest.TargetCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static PurgeProductsRequest.TargetCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.