public static enum ReportConsentChangeRequest.ConsentChangeAction extends Enum<ReportConsentChangeRequest.ConsentChangeAction> implements com.google.protobuf.ProtocolMessageEnum
Type of consent acknowledgement (accept / reject). At this moment, only `ACCEPT` action is supported.Protobuf enum
google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction| Enum Constant and Description |
|---|
ACCEPT
User accepts service terms.
|
CONSENT_CHANGE_ACTION_UNSPECIFIED
Invalid action, user must specify accept/decline
CONSENT_CHANGE_ACTION_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPT_VALUE
User accepts service terms.
|
static int |
CONSENT_CHANGE_ACTION_UNSPECIFIED_VALUE
Invalid action, user must specify accept/decline
CONSENT_CHANGE_ACTION_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static ReportConsentChangeRequest.ConsentChangeAction |
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<ReportConsentChangeRequest.ConsentChangeAction> |
internalGetValueMap() |
static ReportConsentChangeRequest.ConsentChangeAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ReportConsentChangeRequest.ConsentChangeAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReportConsentChangeRequest.ConsentChangeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportConsentChangeRequest.ConsentChangeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportConsentChangeRequest.ConsentChangeAction CONSENT_CHANGE_ACTION_UNSPECIFIED
Invalid action, user must specify accept/decline
CONSENT_CHANGE_ACTION_UNSPECIFIED = 0;public static final ReportConsentChangeRequest.ConsentChangeAction ACCEPT
User accepts service terms.
ACCEPT = 1;public static final ReportConsentChangeRequest.ConsentChangeAction UNRECOGNIZED
public static final int CONSENT_CHANGE_ACTION_UNSPECIFIED_VALUE
Invalid action, user must specify accept/decline
CONSENT_CHANGE_ACTION_UNSPECIFIED = 0;public static final int ACCEPT_VALUE
User accepts service terms.
ACCEPT = 1;public static ReportConsentChangeRequest.ConsentChangeAction[] values()
for (ReportConsentChangeRequest.ConsentChangeAction c : ReportConsentChangeRequest.ConsentChangeAction.values()) System.out.println(c);
public static ReportConsentChangeRequest.ConsentChangeAction 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 ReportConsentChangeRequest.ConsentChangeAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ReportConsentChangeRequest.ConsentChangeAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ReportConsentChangeRequest.ConsentChangeAction> 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 ReportConsentChangeRequest.ConsentChangeAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.