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 enum
google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed to indicate the PublisherModel is a Google-owned pure open source model.Used to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.The open source category is unspecified, which should not be used.Used to indicate the PublisherModel is not open sourced.Used to indicate the PublisherModel is a 3p-owned pure open source model.Used to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUsed to indicate the PublisherModel is a Google-owned pure open source model.static final intUsed to indicate the PublisherModel is a Google-owned open source model w/ Google checkpoint.static final intThe open source category is unspecified, which should not be used.static final intUsed to indicate the PublisherModel is not open sourced.static final intUsed to indicate the PublisherModel is a 3p-owned pure open source model.static final intUsed to indicate the PublisherModel is a 3p-owned open source model w/ Google checkpoint. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PublisherModel.OpenSourceCategory>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified 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 Details
-
OPEN_SOURCE_CATEGORY_UNSPECIFIED
The open source category is unspecified, which should not be used.
OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0; -
PROPRIETARY
Used to indicate the PublisherModel is not open sourced.
PROPRIETARY = 1; -
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
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
Used to indicate the PublisherModel is a Google-owned pure open source model.
GOOGLE_OWNED_OSS = 4; -
THIRD_PARTY_OWNED_OSS
Used to indicate the PublisherModel is a 3p-owned pure open source model.
THIRD_PARTY_OWNED_OSS = 5; -
UNRECOGNIZED
-
-
Field Details
-
OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUE
public static final int OPEN_SOURCE_CATEGORY_UNSPECIFIED_VALUEThe open source category is unspecified, which should not be used.
OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0;- See Also:
-
PROPRIETARY_VALUE
public static final int PROPRIETARY_VALUEUsed 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_VALUEUsed 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_VALUEUsed 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_VALUEUsed 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_VALUEUsed to indicate the PublisherModel is a 3p-owned pure open source model.
THIRD_PARTY_OWNED_OSS = 5;- See Also:
-
-
Method Details
-
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
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.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
- 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 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
-