@Deprecated public enum Visibility extends Enum<Visibility> implements ProtocolMessageEnum
Deprecated. All resources are only visible to the owner. An enum that represents who has view access to the resource.Protobuf enum
google.cloud.talent.v4beta1.Visibility
Enum Constant and Description |
---|
ACCOUNT_ONLY
Deprecated.
The resource is only visible to the GCP account who owns it.
|
SHARED_WITH_GOOGLE
Deprecated.
The resource is visible to the owner and may be visible to other
applications and processes at Google.
|
SHARED_WITH_PUBLIC
Deprecated.
The resource is visible to the owner and may be visible to all other API
clients.
|
UNRECOGNIZED
Deprecated.
|
VISIBILITY_UNSPECIFIED
Deprecated.
Default value.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACCOUNT_ONLY_VALUE
Deprecated.
The resource is only visible to the GCP account who owns it.
|
static int |
SHARED_WITH_GOOGLE_VALUE
Deprecated.
The resource is visible to the owner and may be visible to other
applications and processes at Google.
|
static int |
SHARED_WITH_PUBLIC_VALUE
Deprecated.
The resource is visible to the owner and may be visible to all other API
clients.
|
static int |
VISIBILITY_UNSPECIFIED_VALUE
Deprecated.
Default value.
|
Modifier and Type | Method and Description |
---|---|
static Visibility |
forNumber(int value)
Deprecated.
|
static Descriptors.EnumDescriptor |
getDescriptor()
Deprecated.
|
Descriptors.EnumDescriptor |
getDescriptorForType()
Deprecated.
|
int |
getNumber()
Deprecated.
|
Descriptors.EnumValueDescriptor |
getValueDescriptor()
Deprecated.
|
static Internal.EnumLiteMap<Visibility> |
internalGetValueMap()
Deprecated.
|
static Visibility |
valueOf(Descriptors.EnumValueDescriptor desc)
Deprecated.
|
static Visibility |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Visibility |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Visibility[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Visibility VISIBILITY_UNSPECIFIED
Default value.
VISIBILITY_UNSPECIFIED = 0;
public static final Visibility ACCOUNT_ONLY
The resource is only visible to the GCP account who owns it.
ACCOUNT_ONLY = 1;
public static final Visibility SHARED_WITH_GOOGLE
The resource is visible to the owner and may be visible to other applications and processes at Google.
SHARED_WITH_GOOGLE = 2;
public static final Visibility SHARED_WITH_PUBLIC
The resource is visible to the owner and may be visible to all other API clients.
SHARED_WITH_PUBLIC = 3;
public static final Visibility UNRECOGNIZED
public static final int VISIBILITY_UNSPECIFIED_VALUE
Default value.
VISIBILITY_UNSPECIFIED = 0;
public static final int ACCOUNT_ONLY_VALUE
The resource is only visible to the GCP account who owns it.
ACCOUNT_ONLY = 1;
public static final int SHARED_WITH_GOOGLE_VALUE
The resource is visible to the owner and may be visible to other applications and processes at Google.
SHARED_WITH_GOOGLE = 2;
public static final int SHARED_WITH_PUBLIC_VALUE
The resource is visible to the owner and may be visible to all other API clients.
SHARED_WITH_PUBLIC = 3;
public static Visibility[] values()
for (Visibility c : Visibility.values()) System.out.println(c);
public static Visibility 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Visibility valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Visibility forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Visibility> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Visibility valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.