public final class PublisherModel extends GeneratedMessageV3 implements PublisherModelOrBuilder
A Model Garden Publisher Model.
Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int FRAMEWORKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LAUNCH_STAGE_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];
public PublisherModel.LaunchStage getLaunchStage()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
public int getLaunchStageValue()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for launchStage.
|
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 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