Package com.google.cloud.aiplatform.v1
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 enumgoogle.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOOGLE_OWNED_OSSUsed to indicate the PublisherModel is a Google-owned pure open source model.GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINTUsed to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.OPEN_SOURCE_CATEGORY_UNSPECIFIEDThe open source category is unspecified, which should not be used.PROPRIETARYUsed to indicate the PublisherModel is not open sourced.THIRD_PARTY_OWNED_OSSUsed to indicate the PublisherModel is a 3p-owned pure open source model.THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINTUsed to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intGOOGLE_OWNED_OSS_VALUEUsed to indicate the PublisherModel is a Google-owned pure open source model.static intGOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUEUsed to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.static intOPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUEThe open source category is unspecified, which should not be used.static intPROPRIETARY_VALUEUsed to indicate the PublisherModel is not open sourced.static intTHIRD_PARTY_OWNED_OSS_VALUEUsed to indicate the PublisherModel is a 3p-owned pure open source model.static intTHIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT_VALUEUsed 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.OpenSourceCategoryforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<PublisherModel.OpenSourceCategory>internalGetValueMap()static PublisherModel.OpenSourceCategoryvalueOf(int value)Deprecated.static PublisherModel.OpenSourceCategoryvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PublisherModel.OpenSourceCategoryvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-