public static enum Branch.ProductCountStatistic.ProductCountScope extends Enum<Branch.ProductCountStatistic.ProductCountScope> implements com.google.protobuf.ProtocolMessageEnum
Scope of what products are included for this count.Protobuf enum
google.cloud.retail.v2alpha.Branch.ProductCountStatistic.ProductCountScope| Enum Constant and Description |
|---|
ALL_PRODUCTS
Scope for all existing products in the branch.
|
LAST_24_HOUR_UPDATE
Scope for products created or updated in the last 24 hours.
|
PRODUCT_COUNT_SCOPE_UNSPECIFIED
Default value for enum.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_PRODUCTS_VALUE
Scope for all existing products in the branch.
|
static int |
LAST_24_HOUR_UPDATE_VALUE
Scope for products created or updated in the last 24 hours.
|
static int |
PRODUCT_COUNT_SCOPE_UNSPECIFIED_VALUE
Default value for enum.
|
| Modifier and Type | Method and Description |
|---|---|
static Branch.ProductCountStatistic.ProductCountScope |
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<Branch.ProductCountStatistic.ProductCountScope> |
internalGetValueMap() |
static Branch.ProductCountStatistic.ProductCountScope |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Branch.ProductCountStatistic.ProductCountScope |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Branch.ProductCountStatistic.ProductCountScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Branch.ProductCountStatistic.ProductCountScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Branch.ProductCountStatistic.ProductCountScope PRODUCT_COUNT_SCOPE_UNSPECIFIED
Default value for enum. This value is not used in the API response.
PRODUCT_COUNT_SCOPE_UNSPECIFIED = 0;public static final Branch.ProductCountStatistic.ProductCountScope ALL_PRODUCTS
Scope for all existing products in the branch. Useful for understanding how many products there are in a branch.
ALL_PRODUCTS = 1;public static final Branch.ProductCountStatistic.ProductCountScope LAST_24_HOUR_UPDATE
Scope for products created or updated in the last 24 hours.
LAST_24_HOUR_UPDATE = 2;public static final Branch.ProductCountStatistic.ProductCountScope UNRECOGNIZED
public static final int PRODUCT_COUNT_SCOPE_UNSPECIFIED_VALUE
Default value for enum. This value is not used in the API response.
PRODUCT_COUNT_SCOPE_UNSPECIFIED = 0;public static final int ALL_PRODUCTS_VALUE
Scope for all existing products in the branch. Useful for understanding how many products there are in a branch.
ALL_PRODUCTS = 1;public static final int LAST_24_HOUR_UPDATE_VALUE
Scope for products created or updated in the last 24 hours.
LAST_24_HOUR_UPDATE = 2;public static Branch.ProductCountStatistic.ProductCountScope[] values()
for (Branch.ProductCountStatistic.ProductCountScope c : Branch.ProductCountStatistic.ProductCountScope.values()) System.out.println(c);
public static Branch.ProductCountStatistic.ProductCountScope 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 Branch.ProductCountStatistic.ProductCountScope valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Branch.ProductCountStatistic.ProductCountScope forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Branch.ProductCountStatistic.ProductCountScope> 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 Branch.ProductCountStatistic.ProductCountScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.