public static enum RejoinUserEventsRequest.UserEventRejoinScope extends Enum<RejoinUserEventsRequest.UserEventRejoinScope> implements com.google.protobuf.ProtocolMessageEnum
The scope of user events to be rejoined with the latest product catalog. If the rejoining aims at reducing number of unjoined events, set `UserEventRejoinScope` to `UNJOINED_EVENTS`. If the rejoining aims at correcting product catalog information in joined events, set `UserEventRejoinScope` to `JOINED_EVENTS`. If all events needs to be rejoined, set `UserEventRejoinScope` to `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED`.Protobuf enum
google.cloud.retail.v2.RejoinUserEventsRequest.UserEventRejoinScope| Enum Constant and Description |
|---|
JOINED_EVENTS
Only rejoin joined events with the latest product catalog.
|
UNJOINED_EVENTS
Only rejoin unjoined events with the latest product catalog.
|
UNRECOGNIZED |
USER_EVENT_REJOIN_SCOPE_UNSPECIFIED
Rejoin all events with the latest product catalog, including both joined
events and unjoined events.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
JOINED_EVENTS_VALUE
Only rejoin joined events with the latest product catalog.
|
static int |
UNJOINED_EVENTS_VALUE
Only rejoin unjoined events with the latest product catalog.
|
static int |
USER_EVENT_REJOIN_SCOPE_UNSPECIFIED_VALUE
Rejoin all events with the latest product catalog, including both joined
events and unjoined events.
|
| Modifier and Type | Method and Description |
|---|---|
static RejoinUserEventsRequest.UserEventRejoinScope |
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<RejoinUserEventsRequest.UserEventRejoinScope> |
internalGetValueMap() |
static RejoinUserEventsRequest.UserEventRejoinScope |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RejoinUserEventsRequest.UserEventRejoinScope |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RejoinUserEventsRequest.UserEventRejoinScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RejoinUserEventsRequest.UserEventRejoinScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RejoinUserEventsRequest.UserEventRejoinScope USER_EVENT_REJOIN_SCOPE_UNSPECIFIED
Rejoin all events with the latest product catalog, including both joined events and unjoined events.
USER_EVENT_REJOIN_SCOPE_UNSPECIFIED = 0;public static final RejoinUserEventsRequest.UserEventRejoinScope JOINED_EVENTS
Only rejoin joined events with the latest product catalog.
JOINED_EVENTS = 1;public static final RejoinUserEventsRequest.UserEventRejoinScope UNJOINED_EVENTS
Only rejoin unjoined events with the latest product catalog.
UNJOINED_EVENTS = 2;public static final RejoinUserEventsRequest.UserEventRejoinScope UNRECOGNIZED
public static final int USER_EVENT_REJOIN_SCOPE_UNSPECIFIED_VALUE
Rejoin all events with the latest product catalog, including both joined events and unjoined events.
USER_EVENT_REJOIN_SCOPE_UNSPECIFIED = 0;public static final int JOINED_EVENTS_VALUE
Only rejoin joined events with the latest product catalog.
JOINED_EVENTS = 1;public static final int UNJOINED_EVENTS_VALUE
Only rejoin unjoined events with the latest product catalog.
UNJOINED_EVENTS = 2;public static RejoinUserEventsRequest.UserEventRejoinScope[] values()
for (RejoinUserEventsRequest.UserEventRejoinScope c : RejoinUserEventsRequest.UserEventRejoinScope.values()) System.out.println(c);
public static RejoinUserEventsRequest.UserEventRejoinScope 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 RejoinUserEventsRequest.UserEventRejoinScope valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RejoinUserEventsRequest.UserEventRejoinScope forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RejoinUserEventsRequest.UserEventRejoinScope> 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 RejoinUserEventsRequest.UserEventRejoinScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.