public static enum Repository.GitRemoteSettings.TokenStatus extends Enum<Repository.GitRemoteSettings.TokenStatus> implements com.google.protobuf.ProtocolMessageEnum
Indicates the status of a Git authentication token.Protobuf enum
google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus| Enum Constant and Description |
|---|
INVALID
The token could not be used to authenticate against the Git remote.
|
NOT_FOUND
The token could not be found in Secret Manager (or the Dataform
Service Account did not have permission to access it).
|
TOKEN_STATUS_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
VALID
The token was used successfully to authenticate against the Git remote.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_VALUE
The token could not be used to authenticate against the Git remote.
|
static int |
NOT_FOUND_VALUE
The token could not be found in Secret Manager (or the Dataform
Service Account did not have permission to access it).
|
static int |
TOKEN_STATUS_UNSPECIFIED_VALUE
Default value.
|
static int |
VALID_VALUE
The token was used successfully to authenticate against the Git remote.
|
| Modifier and Type | Method and Description |
|---|---|
static Repository.GitRemoteSettings.TokenStatus |
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<Repository.GitRemoteSettings.TokenStatus> |
internalGetValueMap() |
static Repository.GitRemoteSettings.TokenStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Repository.GitRemoteSettings.TokenStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Repository.GitRemoteSettings.TokenStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Repository.GitRemoteSettings.TokenStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Repository.GitRemoteSettings.TokenStatus TOKEN_STATUS_UNSPECIFIED
Default value. This value is unused.
TOKEN_STATUS_UNSPECIFIED = 0;public static final Repository.GitRemoteSettings.TokenStatus NOT_FOUND
The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).
NOT_FOUND = 1;public static final Repository.GitRemoteSettings.TokenStatus INVALID
The token could not be used to authenticate against the Git remote.
INVALID = 2;public static final Repository.GitRemoteSettings.TokenStatus VALID
The token was used successfully to authenticate against the Git remote.
VALID = 3;public static final Repository.GitRemoteSettings.TokenStatus UNRECOGNIZED
public static final int TOKEN_STATUS_UNSPECIFIED_VALUE
Default value. This value is unused.
TOKEN_STATUS_UNSPECIFIED = 0;public static final int NOT_FOUND_VALUE
The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).
NOT_FOUND = 1;public static final int INVALID_VALUE
The token could not be used to authenticate against the Git remote.
INVALID = 2;public static final int VALID_VALUE
The token was used successfully to authenticate against the Git remote.
VALID = 3;public static Repository.GitRemoteSettings.TokenStatus[] values()
for (Repository.GitRemoteSettings.TokenStatus c : Repository.GitRemoteSettings.TokenStatus.values()) System.out.println(c);
public static Repository.GitRemoteSettings.TokenStatus 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 Repository.GitRemoteSettings.TokenStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Repository.GitRemoteSettings.TokenStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Repository.GitRemoteSettings.TokenStatus> 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 Repository.GitRemoteSettings.TokenStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.