Send feedback
Class PublisherModel (3.18.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.18.0 keyboard_arrow_down
public final class PublisherModel extends GeneratedMessageV3 implements PublisherModelOrBuilder
A Model Garden Publisher Model.
Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel
Static Fields
public static final int FRAMEWORKS_FIELD_NUMBER
Field Value Type Description int
public static final int NAME_FIELD_NUMBER
Field Value Type Description int
public static final int OPEN_SOURCE_CATEGORY_FIELD_NUMBER
Field Value Type Description int
public static final int PREDICT_SCHEMATA_FIELD_NUMBER
Field Value Type Description int
public static final int PUBLISHER_MODEL_TEMPLATE_FIELD_NUMBER
Field Value Type Description int
public static final int SUPPORTED_ACTIONS_FIELD_NUMBER
Field Value Type Description int
public static final int VERSION_ID_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static PublisherModel getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static PublisherModel . Builder newBuilder ()
public static PublisherModel . Builder newBuilder ( PublisherModel prototype )
public static PublisherModel parseDelimitedFrom ( InputStream input )
public static PublisherModel parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PublisherModel parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static PublisherModel parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static PublisherModel parseFrom ( ByteString data )
public static PublisherModel parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static PublisherModel parseFrom ( CodedInputStream input )
public static PublisherModel parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static PublisherModel parseFrom ( InputStream input )
public static PublisherModel parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PublisherModel parseFrom ( ByteBuffer data )
public static PublisherModel parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<PublisherModel> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public PublisherModel getDefaultInstanceForType ()
public String getFrameworks ( int index )
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The frameworks at the given index.
public ByteString getFrameworksBytes ( int index )
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the frameworks at the given index.
public int getFrameworksCount ()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description int
The count of frameworks.
public ProtocolStringList getFrameworksList ()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description String
The name.
public ByteString getNameBytes ()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description ByteString
The bytes for name.
public PublisherModel . OpenSourceCategory getOpenSourceCategory ()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
public int getOpenSourceCategoryValue ()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description int
The enum numeric value on the wire for openSourceCategory.
public Parser<PublisherModel> getParserForType ()
Overrides
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.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
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];
Returns Type Description String
The publisherModelTemplate.
public 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];
Returns Type Description ByteString
The bytes for publisherModelTemplate.
public int getSerializedSize ()
Returns Type Description int
Overrides
public PublisherModel . CallToAction getSupportedActions ()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
public PublisherModel . CallToActionOrBuilder getSupportedActionsOrBuilder ()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
public final UnknownFieldSet getUnknownFields ()
Overrides
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];
Returns Type Description String
The versionId.
public 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];
Returns Type Description ByteString
The bytes for versionId.
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.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description boolean
Whether the predictSchemata field is set.
public boolean hasSupportedActions ()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description boolean
Whether the supportedActions field is set.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public PublisherModel . Builder newBuilderForType ()
protected PublisherModel . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public PublisherModel . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]