public final class PublisherModel extends com.google.protobuf.GeneratedMessageV3 implements PublisherModelOrBuilder
A Model Garden Publisher Model.Protobuf type
google.cloud.aiplatform.v1.PublisherModel| Modifier and Type | Class and Description |
|---|---|
static class |
PublisherModel.Builder
A Model Garden Publisher Model.
|
static class |
PublisherModel.CallToAction
Actions could take on this Publisher Model.
|
static interface |
PublisherModel.CallToActionOrBuilder |
static class |
PublisherModel.Documentation
A named piece of documentation.
|
static interface |
PublisherModel.DocumentationOrBuilder |
static class |
PublisherModel.LaunchStage
An enum representing the launch stage of a PublisherModel.
|
static class |
PublisherModel.OpenSourceCategory
An enum representing the open source category of a PublisherModel.
|
static class |
PublisherModel.ResourceReference
Reference to a resource.
|
static interface |
PublisherModel.ResourceReferenceOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
FRAMEWORKS_FIELD_NUMBER |
static int |
LAUNCH_STAGE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OPEN_SOURCE_CATEGORY_FIELD_NUMBER |
static int |
PREDICT_SCHEMATA_FIELD_NUMBER |
static int |
PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER |
static int |
SUPPORTED_ACTIONS_FIELD_NUMBER |
static int |
VERSION_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PublisherModel |
getDefaultInstance() |
PublisherModel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFrameworks(int index)
Optional.
|
com.google.protobuf.ByteString |
getFrameworksBytes(int index)
Optional.
|
int |
getFrameworksCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getFrameworksList()
Optional.
|
PublisherModel.LaunchStage |
getLaunchStage()
Optional.
|
int |
getLaunchStageValue()
Optional.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
PublisherModel.OpenSourceCategory |
getOpenSourceCategory()
Required.
|
int |
getOpenSourceCategoryValue()
Required.
|
com.google.protobuf.Parser<PublisherModel> |
getParserForType() |
PredictSchemata |
getPredictSchemata()
Optional.
|
PredictSchemataOrBuilder |
getPredictSchemataOrBuilder()
Optional.
|
String |
getPublisherModelTemplate()
Optional.
|
com.google.protobuf.ByteString |
getPublisherModelTemplateBytes()
Optional.
|
int |
getSerializedSize() |
PublisherModel.CallToAction |
getSupportedActions()
Optional.
|
PublisherModel.CallToActionOrBuilder |
getSupportedActionsOrBuilder()
Optional.
|
String |
getVersionId()
Output only.
|
com.google.protobuf.ByteString |
getVersionIdBytes()
Output only.
|
int |
hashCode() |
boolean |
hasPredictSchemata()
Optional.
|
boolean |
hasSupportedActions()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PublisherModel.Builder |
newBuilder() |
static PublisherModel.Builder |
newBuilder(PublisherModel prototype) |
PublisherModel.Builder |
newBuilderForType() |
protected PublisherModel.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PublisherModel |
parseDelimitedFrom(InputStream input) |
static PublisherModel |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublisherModel |
parseFrom(byte[] data) |
static PublisherModel |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublisherModel |
parseFrom(ByteBuffer data) |
static PublisherModel |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublisherModel |
parseFrom(com.google.protobuf.ByteString data) |
static PublisherModel |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublisherModel |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PublisherModel |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PublisherModel |
parseFrom(InputStream input) |
static PublisherModel |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PublisherModel> |
parser() |
PublisherModel.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int VERSION_ID_FIELD_NUMBER
public static final int OPEN_SOURCE_CATEGORY_FIELD_NUMBER
public static final int SUPPORTED_ACTIONS_FIELD_NUMBER
public static final int FRAMEWORKS_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
public static final int PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER
public static final int PREDICT_SCHEMATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface PublisherModelOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface PublisherModelOrBuilderpublic 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];
getVersionId in interface PublisherModelOrBuilderpublic 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];
getVersionIdBytes in interface PublisherModelOrBuilderpublic 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];
getOpenSourceCategoryValue in interface PublisherModelOrBuilderpublic 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];
getOpenSourceCategory in interface PublisherModelOrBuilderpublic boolean hasSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
hasSupportedActions in interface PublisherModelOrBuilderpublic PublisherModel.CallToAction getSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
getSupportedActions in interface PublisherModelOrBuilderpublic PublisherModel.CallToActionOrBuilder getSupportedActionsOrBuilder()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
getSupportedActionsOrBuilder in interface PublisherModelOrBuilderpublic com.google.protobuf.ProtocolStringList getFrameworksList()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];getFrameworksList in interface PublisherModelOrBuilderpublic int getFrameworksCount()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];getFrameworksCount in interface PublisherModelOrBuilderpublic String getFrameworks(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];getFrameworks in interface PublisherModelOrBuilderindex - The index of the element to return.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];getFrameworksBytes in interface PublisherModelOrBuilderindex - The index of the value to return.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];
getLaunchStageValue in interface PublisherModelOrBuilderpublic 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];
getLaunchStage in interface PublisherModelOrBuilderpublic 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];
getPublisherModelTemplate in interface PublisherModelOrBuilderpublic 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];
getPublisherModelTemplateBytes in interface PublisherModelOrBuilderpublic 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];
hasPredictSchemata in interface PublisherModelOrBuilderpublic 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];
getPredictSchemata in interface PublisherModelOrBuilderpublic 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];
getPredictSchemataOrBuilder in interface PublisherModelOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PublisherModel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublisherModel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublisherModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublisherModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublisherModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublisherModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PublisherModel parseFrom(InputStream input) throws IOException
IOExceptionpublic static PublisherModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublisherModel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PublisherModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PublisherModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PublisherModel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PublisherModel.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PublisherModel.Builder newBuilder()
public static PublisherModel.Builder newBuilder(PublisherModel prototype)
public PublisherModel.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PublisherModel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PublisherModel getDefaultInstance()
public static com.google.protobuf.Parser<PublisherModel> parser()
public com.google.protobuf.Parser<PublisherModel> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PublisherModel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.