Package com.google.cloud.aiplatform.v1
Interface PublisherModelOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublisherModel
,PublisherModel.Builder
public interface PublisherModelOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getVersionId
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:
- The versionId.
-
getVersionIdBytes
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];
- Returns:
- The bytes for versionId.
-
getOpenSourceCategoryValue
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];
- Returns:
- The enum numeric value on the wire for openSourceCategory.
-
getOpenSourceCategory
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];
- Returns:
- The openSourceCategory.
-
hasSupportedActions
boolean hasSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- Whether the supportedActions field is set.
-
getSupportedActions
PublisherModel.CallToAction getSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The supportedActions.
-
getSupportedActionsOrBuilder
PublisherModel.CallToActionOrBuilder getSupportedActionsOrBuilder()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getFrameworksList
List<String> getFrameworksList()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the frameworks.
-
getFrameworksCount
int getFrameworksCount()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of frameworks.
-
getFrameworks
String getFrameworks(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The frameworks at the given index.
-
getFrameworksBytes
com.google.protobuf.ByteString getFrameworksBytes(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the frameworks at the given index.
-
getLaunchStageValue
int getLaunchStageValue()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
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];
- Returns:
- The launchStage.
-
getPublisherModelTemplate
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:
- The publisherModelTemplate.
-
getPublisherModelTemplateBytes
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];
- Returns:
- The bytes for publisherModelTemplate.
-
hasPredictSchemata
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];
- Returns:
- Whether the predictSchemata field is set.
-
getPredictSchemata
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];
- Returns:
- The predictSchemata.
-
getPredictSchemataOrBuilder
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];
-
-