Enum PublisherModel.OpenSourceCategory

java.lang.Object
java.lang.Enum<PublisherModel.OpenSourceCategory>
com.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PublisherModel.OpenSourceCategory>
Enclosing class:
PublisherModel

public static enum PublisherModel.OpenSourceCategory extends Enum<PublisherModel.OpenSourceCategory> implements com.google.protobuf.ProtocolMessageEnum
 An enum representing the open source category of a PublisherModel.
 
Protobuf enum google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory
  • Enum Constant Details

    • OPEN_SOURCE_CATEGORY_UNSPECIFIED

      public static final PublisherModel.OpenSourceCategory OPEN_SOURCE_CATEGORY_UNSPECIFIED
       The open source category is unspecified, which should not be used.
       
      OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0;
    • PROPRIETARY

      public static final PublisherModel.OpenSourceCategory PROPRIETARY
       Used to indicate the PublisherModel is not open sourced.
       
      PROPRIETARY = 1;
    • GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT

      public static final PublisherModel.OpenSourceCategory GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT
       Used to indicate the PublisherModel is a Google-owned open source model
       w/ Google checkpoint.
       
      GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 2;
    • THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT

      public static final PublisherModel.OpenSourceCategory THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT
       Used to indicate the PublisherModel is a 3p-owned open source model w/
       Google checkpoint.
       
      THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 3;
    • GOOGLE_OWNED_OSS

      public static final PublisherModel.OpenSourceCategory GOOGLE_OWNED_OSS
       Used to indicate the PublisherModel is a Google-owned pure open source
       model.
       
      GOOGLE_OWNED_OSS = 4;
    • THIRD_PARTY_OWNED_OSS

      public static final PublisherModel.OpenSourceCategory THIRD_PARTY_OWNED_OSS
       Used to indicate the PublisherModel is a 3p-owned pure open source model.
       
      THIRD_PARTY_OWNED_OSS = 5;
    • UNRECOGNIZED

      public static final PublisherModel.OpenSourceCategory UNRECOGNIZED
  • Field Details

    • OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUE

      public static final int OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUE
       The open source category is unspecified, which should not be used.
       
      OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0;
      See Also:
    • PROPRIETARY_VALUE

      public static final int PROPRIETARY_VALUE
       Used to indicate the PublisherModel is not open sourced.
       
      PROPRIETARY = 1;
      See Also:
    • GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE

      public static final int GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE
       Used to indicate the PublisherModel is a Google-owned open source model
       w/ Google checkpoint.
       
      GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 2;
      See Also:
    • THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE

      public static final int THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE
       Used to indicate the PublisherModel is a 3p-owned open source model w/
       Google checkpoint.
       
      THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 3;
      See Also:
    • GOOGLE_OWNED_OSS_VALUE

      public static final int GOOGLE_OWNED_OSS_VALUE
       Used to indicate the PublisherModel is a Google-owned pure open source
       model.
       
      GOOGLE_OWNED_OSS = 4;
      See Also:
    • THIRD_PARTY_OWNED_OSS_VALUE

      public static final int THIRD_PARTY_OWNED_OSS_VALUE
       Used to indicate the PublisherModel is a 3p-owned pure open source model.
       
      THIRD_PARTY_OWNED_OSS = 5;
      See Also:
  • Method Details

    • values

      public static PublisherModel.OpenSourceCategory[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PublisherModel.OpenSourceCategory valueOf(String name)
      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()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static PublisherModel.OpenSourceCategory 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 PublisherModel.OpenSourceCategory forNumber(int value)
      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<PublisherModel.OpenSourceCategory> internalGetValueMap()
    • getValueDescriptor

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

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

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

      public static PublisherModel.OpenSourceCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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