Package com.google.cloud.aiplatform.v1
Class PublisherModel
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1.PublisherModel
-
- All Implemented Interfaces:
PublisherModelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PublisherModel extends com.google.protobuf.GeneratedMessageV3 implements PublisherModelOrBuilder
A Model Garden Publisher Model.
Protobuf typegoogle.cloud.aiplatform.v1.PublisherModel- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPublisherModel.BuilderA Model Garden Publisher Model.static classPublisherModel.CallToActionActions could take on this Publisher Model.static interfacePublisherModel.CallToActionOrBuilderstatic classPublisherModel.DocumentationA named piece of documentation.static interfacePublisherModel.DocumentationOrBuilderstatic classPublisherModel.LaunchStageAn enum representing the launch stage of a PublisherModel.static classPublisherModel.OpenSourceCategoryAn enum representing the open source category of a PublisherModel.static classPublisherModel.ResourceReferenceReference to a resource.static interfacePublisherModel.ResourceReferenceOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFRAMEWORKS_FIELD_NUMBERstatic intLAUNCH_STAGE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOPEN_SOURCE_CATEGORY_FIELD_NUMBERstatic intPREDICT_SCHEMATA_FIELD_NUMBERstatic intPUBLISHER_MODEL_TEMPLATE_FIELD_NUMBERstatic intSUPPORTED_ACTIONS_FIELD_NUMBERstatic intVERSION_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static PublisherModelgetDefaultInstance()PublisherModelgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFrameworks(int index)Optional.com.google.protobuf.ByteStringgetFrameworksBytes(int index)Optional.intgetFrameworksCount()Optional.com.google.protobuf.ProtocolStringListgetFrameworksList()Optional.PublisherModel.LaunchStagegetLaunchStage()Optional.intgetLaunchStageValue()Optional.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.PublisherModel.OpenSourceCategorygetOpenSourceCategory()Required.intgetOpenSourceCategoryValue()Required.com.google.protobuf.Parser<PublisherModel>getParserForType()PredictSchematagetPredictSchemata()Optional.PredictSchemataOrBuildergetPredictSchemataOrBuilder()Optional.StringgetPublisherModelTemplate()Optional.com.google.protobuf.ByteStringgetPublisherModelTemplateBytes()Optional.intgetSerializedSize()PublisherModel.CallToActiongetSupportedActions()Optional.PublisherModel.CallToActionOrBuildergetSupportedActionsOrBuilder()Optional.StringgetVersionId()Output only.com.google.protobuf.ByteStringgetVersionIdBytes()Output only.inthashCode()booleanhasPredictSchemata()Optional.booleanhasSupportedActions()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PublisherModel.BuildernewBuilder()static PublisherModel.BuildernewBuilder(PublisherModel prototype)PublisherModel.BuildernewBuilderForType()protected PublisherModel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PublisherModelparseDelimitedFrom(InputStream input)static PublisherModelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PublisherModelparseFrom(byte[] data)static PublisherModelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PublisherModelparseFrom(com.google.protobuf.ByteString data)static PublisherModelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PublisherModelparseFrom(com.google.protobuf.CodedInputStream input)static PublisherModelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PublisherModelparseFrom(InputStream input)static PublisherModelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PublisherModelparseFrom(ByteBuffer data)static PublisherModelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PublisherModel>parser()PublisherModel.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_ID_FIELD_NUMBER
public static final int VERSION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPEN_SOURCE_CATEGORY_FIELD_NUMBER
public static final int OPEN_SOURCE_CATEGORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUPPORTED_ACTIONS_FIELD_NUMBER
public static final int SUPPORTED_ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRAMEWORKS_FIELD_NUMBER
public static final int FRAMEWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER
public static final int PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREDICT_SCHEMATA_FIELD_NUMBER
public static final int PREDICT_SCHEMATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfacePublisherModelOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfacePublisherModelOrBuilder- Returns:
- The bytes for name.
-
getVersionId
public String getVersionId()
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionIdin interfacePublisherModelOrBuilder- Returns:
- The versionId.
-
getVersionIdBytes
public com.google.protobuf.ByteString getVersionIdBytes()
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionIdBytesin interfacePublisherModelOrBuilder- Returns:
- The bytes for versionId.
-
getOpenSourceCategoryValue
public int getOpenSourceCategoryValue()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOpenSourceCategoryValuein interfacePublisherModelOrBuilder- Returns:
- The enum numeric value on the wire for openSourceCategory.
-
getOpenSourceCategory
public PublisherModel.OpenSourceCategory getOpenSourceCategory()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOpenSourceCategoryin interfacePublisherModelOrBuilder- Returns:
- The openSourceCategory.
-
hasSupportedActions
public boolean hasSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSupportedActionsin interfacePublisherModelOrBuilder- Returns:
- Whether the supportedActions field is set.
-
getSupportedActions
public PublisherModel.CallToAction getSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSupportedActionsin interfacePublisherModelOrBuilder- Returns:
- The supportedActions.
-
getSupportedActionsOrBuilder
public PublisherModel.CallToActionOrBuilder getSupportedActionsOrBuilder()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSupportedActionsOrBuilderin interfacePublisherModelOrBuilder
-
getFrameworksList
public com.google.protobuf.ProtocolStringList getFrameworksList()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksListin interfacePublisherModelOrBuilder- Returns:
- A list containing the frameworks.
-
getFrameworksCount
public int getFrameworksCount()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksCountin interfacePublisherModelOrBuilder- Returns:
- The count of frameworks.
-
getFrameworks
public String getFrameworks(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksin interfacePublisherModelOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The frameworks at the given index.
-
getFrameworksBytes
public com.google.protobuf.ByteString getFrameworksBytes(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFrameworksBytesin interfacePublisherModelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the frameworks at the given index.
-
getLaunchStageValue
public int getLaunchStageValue()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLaunchStageValuein interfacePublisherModelOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
public PublisherModel.LaunchStage getLaunchStage()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLaunchStagein interfacePublisherModelOrBuilder- Returns:
- The launchStage.
-
getPublisherModelTemplate
public String getPublisherModelTemplate()
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPublisherModelTemplatein interfacePublisherModelOrBuilder- Returns:
- The publisherModelTemplate.
-
getPublisherModelTemplateBytes
public com.google.protobuf.ByteString getPublisherModelTemplateBytes()
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPublisherModelTemplateBytesin interfacePublisherModelOrBuilder- Returns:
- The bytes for publisherModelTemplate.
-
hasPredictSchemata
public boolean hasPredictSchemata()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPredictSchematain interfacePublisherModelOrBuilder- Returns:
- Whether the predictSchemata field is set.
-
getPredictSchemata
public PredictSchemata getPredictSchemata()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPredictSchematain interfacePublisherModelOrBuilder- Returns:
- The predictSchemata.
-
getPredictSchemataOrBuilder
public PredictSchemataOrBuilder getPredictSchemataOrBuilder()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict].
.google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPredictSchemataOrBuilderin interfacePublisherModelOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PublisherModel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublisherModel parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PublisherModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PublisherModel parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PublisherModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PublisherModel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PublisherModel.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PublisherModel.Builder newBuilder()
-
newBuilder
public static PublisherModel.Builder newBuilder(PublisherModel prototype)
-
toBuilder
public PublisherModel.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PublisherModel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PublisherModel getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PublisherModel> parser()
-
getParserForType
public com.google.protobuf.Parser<PublisherModel> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PublisherModel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-