Enum PublisherModel.OpenSourceCategory
- java.lang.Object
-
- java.lang.Enum<PublisherModel.OpenSourceCategory>
-
- com.google.cloud.aiplatform.v1beta1.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 enumgoogle.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOOGLE_OWNED_OSS
Used to indicate the PublisherModel is a Google-owned pure open source model.GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT
Used to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.OPEN_SOURCE_CATEGORY_UNSPECIFIED
The open source category is unspecified, which should not be used.PROPRIETARY
Used to indicate the PublisherModel is not open sourced.THIRD_PARTY_OWNED_OSS
Used to indicate the PublisherModel is a 3p-owned pure open source model.THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT
Used to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
GOOGLE_OWNED_OSS_VALUE
Used to indicate the PublisherModel is a Google-owned pure open source model.static int
GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE
Used to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.static int
OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUE
The open source category is unspecified, which should not be used.static int
PROPRIETARY_VALUE
Used to indicate the PublisherModel is not open sourced.static int
THIRD_PARTY_OWNED_OSS_VALUE
Used to indicate the PublisherModel is a 3p-owned pure open source model.static int
THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUE
Used to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PublisherModel.OpenSourceCategory
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<PublisherModel.OpenSourceCategory>
internalGetValueMap()
static PublisherModel.OpenSourceCategory
valueOf(int value)
Deprecated.static PublisherModel.OpenSourceCategory
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static PublisherModel.OpenSourceCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static PublisherModel.OpenSourceCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
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:
- Constant Field Values
-
PROPRIETARY_VALUE
public static final int PROPRIETARY_VALUE
Used to indicate the PublisherModel is not open sourced.
PROPRIETARY = 1;
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static PublisherModel.OpenSourceCategory[] values()
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 (PublisherModel.OpenSourceCategory c : PublisherModel.OpenSourceCategory.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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 nameNullPointerException
- if the argument is null
-
-