public static enum Project.ServiceTerms.State extends Enum<Project.ServiceTerms.State> implements com.google.protobuf.ProtocolMessageEnum
The agreement states this terms of service.Protobuf enum
google.cloud.discoveryengine.v1alpha.Project.ServiceTerms.State| Enum Constant and Description |
|---|
STATE_UNSPECIFIED
The default value of the enum.
|
TERMS_ACCEPTED
The project has given consent to the terms of service.
|
TERMS_DECLINED
The project has declined or revoked the agreement to terms of service.
|
TERMS_PENDING
The project is pending to review and accept the terms of service.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_UNSPECIFIED_VALUE
The default value of the enum.
|
static int |
TERMS_ACCEPTED_VALUE
The project has given consent to the terms of service.
|
static int |
TERMS_DECLINED_VALUE
The project has declined or revoked the agreement to terms of service.
|
static int |
TERMS_PENDING_VALUE
The project is pending to review and accept the terms of service.
|
| Modifier and Type | Method and Description |
|---|---|
static Project.ServiceTerms.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<Project.ServiceTerms.State> |
internalGetValueMap() |
static Project.ServiceTerms.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Project.ServiceTerms.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Project.ServiceTerms.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.ServiceTerms.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.ServiceTerms.State STATE_UNSPECIFIED
The default value of the enum. This value is not actually used.
STATE_UNSPECIFIED = 0;public static final Project.ServiceTerms.State TERMS_ACCEPTED
The project has given consent to the terms of service.
TERMS_ACCEPTED = 1;public static final Project.ServiceTerms.State TERMS_PENDING
The project is pending to review and accept the terms of service.
TERMS_PENDING = 2;public static final Project.ServiceTerms.State TERMS_DECLINED
The project has declined or revoked the agreement to terms of service.
TERMS_DECLINED = 3;public static final Project.ServiceTerms.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The default value of the enum. This value is not actually used.
STATE_UNSPECIFIED = 0;public static final int TERMS_ACCEPTED_VALUE
The project has given consent to the terms of service.
TERMS_ACCEPTED = 1;public static final int TERMS_PENDING_VALUE
The project is pending to review and accept the terms of service.
TERMS_PENDING = 2;public static final int TERMS_DECLINED_VALUE
The project has declined or revoked the agreement to terms of service.
TERMS_DECLINED = 3;public static Project.ServiceTerms.State[] values()
for (Project.ServiceTerms.State c : Project.ServiceTerms.State.values()) System.out.println(c);
public static Project.ServiceTerms.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 Project.ServiceTerms.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Project.ServiceTerms.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Project.ServiceTerms.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 Project.ServiceTerms.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.