Enum Visibility

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Visibility>

    @Deprecated
    public enum Visibility
    extends Enum<Visibility>
    implements com.google.protobuf.ProtocolMessageEnum
    Deprecated.
     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.v4.Visibility
    • Enum Constant Detail

      • VISIBILITY_UNSPECIFIED

        public static final Visibility VISIBILITY_UNSPECIFIED
        Deprecated.
         Default value.
         
        VISIBILITY_UNSPECIFIED = 0;
      • ACCOUNT_ONLY

        public static final Visibility ACCOUNT_ONLY
        Deprecated.
         The resource is only visible to the GCP account who owns it.
         
        ACCOUNT_ONLY = 1;
      • SHARED_WITH_GOOGLE

        public static final Visibility SHARED_WITH_GOOGLE
        Deprecated.
         The resource is visible to the owner and may be visible to other
         applications and processes at Google.
         
        SHARED_WITH_GOOGLE = 2;
      • SHARED_WITH_PUBLIC

        public static final Visibility SHARED_WITH_PUBLIC
        Deprecated.
         The resource is visible to the owner and may be visible to all other API
         clients.
         
        SHARED_WITH_PUBLIC = 3;
      • UNRECOGNIZED

        public static final Visibility UNRECOGNIZED
        Deprecated.
    • Field Detail

      • VISIBILITY_UNSPECIFIED_VALUE

        public static final int VISIBILITY_UNSPECIFIED_VALUE
        Deprecated.
         Default value.
         
        VISIBILITY_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • ACCOUNT_ONLY_VALUE

        public static final int ACCOUNT_ONLY_VALUE
        Deprecated.
         The resource is only visible to the GCP account who owns it.
         
        ACCOUNT_ONLY = 1;
        See Also:
        Constant Field Values
      • SHARED_WITH_GOOGLE_VALUE

        public static final int SHARED_WITH_GOOGLE_VALUE
        Deprecated.
         The resource is visible to the owner and may be visible to other
         applications and processes at Google.
         
        SHARED_WITH_GOOGLE = 2;
        See Also:
        Constant Field Values
      • SHARED_WITH_PUBLIC_VALUE

        public static final int SHARED_WITH_PUBLIC_VALUE
        Deprecated.
         The resource is visible to the owner and may be visible to all other API
         clients.
         
        SHARED_WITH_PUBLIC = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Visibility[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Visibility c : Visibility.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Visibility valueOf​(String name)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Deprecated.
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Visibility valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static Visibility forNumber​(int value)
        Deprecated.
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<Visibility> internalGetValueMap()
        Deprecated.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Deprecated.
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Deprecated.
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
        Deprecated.
      • valueOf

        public static Visibility valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null