public enum Visibility extends Enum<Visibility> implements com.google.protobuf.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
The resource is only visible to the GCP account who owns it.
|
SHARED_WITH_GOOGLE
The resource is visible to the owner and may be visible to other
applications and processes at Google.
|
SHARED_WITH_PUBLIC
The resource is visible to the owner and may be visible to all other API
clients.
|
UNRECOGNIZED |
VISIBILITY_UNSPECIFIED
Default value.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_ONLY_VALUE
The resource is only visible to the GCP account who owns it.
|
static int |
SHARED_WITH_GOOGLE_VALUE
The resource is visible to the owner and may be visible to other
applications and processes at Google.
|
static int |
SHARED_WITH_PUBLIC_VALUE
The resource is visible to the owner and may be visible to all other API
clients.
|
static int |
VISIBILITY_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static Visibility |
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<Visibility> |
internalGetValueMap() |
static Visibility |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Visibility |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Visibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Visibility[] |
values()
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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Visibility valueOf(int value)
forNumber(int) instead.public static Visibility forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Visibility> 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 Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.