Package com.google.cloud.aiplatform.v1
Class DeployedModel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.DeployedModel
- All Implemented Interfaces:
DeployedModelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DeployedModel
extends com.google.protobuf.GeneratedMessage
implements DeployedModelOrBuilder
A deployment of a Model. Endpoints contain one or more DeployedModels.Protobuf type
google.cloud.aiplatform.v1.DeployedModel- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA deployment of a Model.static enumstatic final classRuntime status of the deployed model.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSystem labels to apply to Model Garden deployments.booleanA description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.The checkpoint id of the model.com.google.protobuf.ByteStringThe checkpoint id of the model.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.static DeployedModelstatic final com.google.protobuf.Descriptors.DescriptorbooleanFor custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging by default.booleanIf true, deploy the model without explainable feature, regardless the existence of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] or [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].The display name of the DeployedModel.com.google.protobuf.ByteStringThe display name of the DeployedModel.booleanIf true, online prediction access logs are sent to Cloud Logging.Explanation configuration for this DeployedModel.Explanation configuration for this DeployedModel.Configuration for faster model deployment.Configuration for faster model deployment.getId()Immutable.com.google.protobuf.ByteStringImmutable.getModel()The resource name of the Model that this is the deployment of.com.google.protobuf.ByteStringThe resource name of the Model that this is the deployment of.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<DeployedModel>Output only.Output only.intThe service account that the DeployedModel's container runs as.com.google.protobuf.ByteStringThe service account that the DeployedModel's container runs as.The resource name of the shared DeploymentResourcePool to deploy on.com.google.protobuf.ByteStringThe resource name of the shared DeploymentResourcePool to deploy on.Optional.Optional.Output only.Output only.Deprecated.intSystem labels to apply to Model Garden deployments.System labels to apply to Model Garden deployments.getSystemLabelsOrDefault(String key, String defaultValue) System labels to apply to Model Garden deployments.System labels to apply to Model Garden deployments.booleanA description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.booleanOutput only.booleanA description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.booleanExplanation configuration for this DeployedModel.booleanConfiguration for faster model deployment.inthashCode()booleanOutput only.booleanThe resource name of the shared DeploymentResourcePool to deploy on.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic DeployedModel.Builderstatic DeployedModel.BuildernewBuilder(DeployedModel prototype) protected DeployedModel.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DeployedModelparseDelimitedFrom(InputStream input) static DeployedModelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployedModelparseFrom(byte[] data) static DeployedModelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployedModelparseFrom(com.google.protobuf.ByteString data) static DeployedModelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployedModelparseFrom(com.google.protobuf.CodedInputStream input) static DeployedModelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployedModelparseFrom(InputStream input) static DeployedModelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeployedModelparseFrom(ByteBuffer data) static DeployedModelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DeployedModel>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DEDICATED_RESOURCES_FIELD_NUMBER
public static final int DEDICATED_RESOURCES_FIELD_NUMBER- See Also:
-
AUTOMATIC_RESOURCES_FIELD_NUMBER
public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER- See Also:
-
SHARED_RESOURCES_FIELD_NUMBER
public static final int SHARED_RESOURCES_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER- See Also:
-
MODEL_VERSION_ID_FIELD_NUMBER
public static final int MODEL_VERSION_ID_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
EXPLANATION_SPEC_FIELD_NUMBER
public static final int EXPLANATION_SPEC_FIELD_NUMBER- See Also:
-
DISABLE_EXPLANATIONS_FIELD_NUMBER
public static final int DISABLE_EXPLANATIONS_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER- See Also:
-
DISABLE_CONTAINER_LOGGING_FIELD_NUMBER
public static final int DISABLE_CONTAINER_LOGGING_FIELD_NUMBER- See Also:
-
ENABLE_ACCESS_LOGGING_FIELD_NUMBER
public static final int ENABLE_ACCESS_LOGGING_FIELD_NUMBER- See Also:
-
PRIVATE_ENDPOINTS_FIELD_NUMBER
public static final int PRIVATE_ENDPOINTS_FIELD_NUMBER- See Also:
-
FASTER_DEPLOYMENT_CONFIG_FIELD_NUMBER
public static final int FASTER_DEPLOYMENT_CONFIG_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
SYSTEM_LABELS_FIELD_NUMBER
public static final int SYSTEM_LABELS_FIELD_NUMBER- See Also:
-
CHECKPOINT_ID_FIELD_NUMBER
public static final int CHECKPOINT_ID_FIELD_NUMBER- See Also:
-
SPECULATIVE_DECODING_SPEC_FIELD_NUMBER
public static final int SPECULATIVE_DECODING_SPEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPredictionResourcesCase
- Specified by:
getPredictionResourcesCasein interfaceDeployedModelOrBuilder
-
hasDedicatedResources
public boolean hasDedicatedResources()A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 7;- Specified by:
hasDedicatedResourcesin interfaceDeployedModelOrBuilder- Returns:
- Whether the dedicatedResources field is set.
-
getDedicatedResources
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 7;- Specified by:
getDedicatedResourcesin interfaceDeployedModelOrBuilder- Returns:
- The dedicatedResources.
-
getDedicatedResourcesOrBuilder
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 7;- Specified by:
getDedicatedResourcesOrBuilderin interfaceDeployedModelOrBuilder
-
hasAutomaticResources
public boolean hasAutomaticResources()A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 8;- Specified by:
hasAutomaticResourcesin interfaceDeployedModelOrBuilder- Returns:
- Whether the automaticResources field is set.
-
getAutomaticResources
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 8;- Specified by:
getAutomaticResourcesin interfaceDeployedModelOrBuilder- Returns:
- The automaticResources.
-
getAutomaticResourcesOrBuilder
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 8;- Specified by:
getAutomaticResourcesOrBuilderin interfaceDeployedModelOrBuilder
-
getId
Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`.
string id = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getIdin interfaceDeployedModelOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`.
string id = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getIdBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for id.
-
getModel
The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel's Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed.string model = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getModelin interfaceDeployedModelOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel's Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed.string model = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getModelBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for model.
-
getModelVersionId
Output only. The version ID of the model that is deployed.
string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModelVersionIdin interfaceDeployedModelOrBuilder- Returns:
- The modelVersionId.
-
getModelVersionIdBytes
public com.google.protobuf.ByteString getModelVersionIdBytes()Output only. The version ID of the model that is deployed.
string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModelVersionIdBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for modelVersionId.
-
getDisplayName
The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.
string display_name = 3;- Specified by:
getDisplayNamein interfaceDeployedModelOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for displayName.
-
hasCreateTime
public boolean hasCreateTime()Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDeployedModelOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDeployedModelOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDeployedModelOrBuilder
-
hasExplanationSpec
public boolean hasExplanationSpec()Explanation configuration for this DeployedModel. When deploying a Model using [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], this value overrides the value of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. All fields of [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] are optional in the request. If a field of [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] is not populated, the value of the same field of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] is inherited. If the corresponding [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] is not populated, all fields of the [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] will be used for the explanation configuration.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;- Specified by:
hasExplanationSpecin interfaceDeployedModelOrBuilder- Returns:
- Whether the explanationSpec field is set.
-
getExplanationSpec
Explanation configuration for this DeployedModel. When deploying a Model using [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], this value overrides the value of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. All fields of [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] are optional in the request. If a field of [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] is not populated, the value of the same field of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] is inherited. If the corresponding [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] is not populated, all fields of the [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] will be used for the explanation configuration.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;- Specified by:
getExplanationSpecin interfaceDeployedModelOrBuilder- Returns:
- The explanationSpec.
-
getExplanationSpecOrBuilder
Explanation configuration for this DeployedModel. When deploying a Model using [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], this value overrides the value of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. All fields of [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] are optional in the request. If a field of [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] is not populated, the value of the same field of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] is inherited. If the corresponding [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] is not populated, all fields of the [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] will be used for the explanation configuration.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;- Specified by:
getExplanationSpecOrBuilderin interfaceDeployedModelOrBuilder
-
getDisableExplanations
public boolean getDisableExplanations()If true, deploy the model without explainable feature, regardless the existence of [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] or [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
bool disable_explanations = 19;- Specified by:
getDisableExplanationsin interfaceDeployedModelOrBuilder- Returns:
- The disableExplanations.
-
getServiceAccount
The service account that the DeployedModel's container runs as. Specify the email address of the service account. If this service account is not specified, the container runs as a service account that doesn't have access to the resource project. Users deploying the Model must have the `iam.serviceAccounts.actAs` permission on this service account.
string service_account = 11;- Specified by:
getServiceAccountin interfaceDeployedModelOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()The service account that the DeployedModel's container runs as. Specify the email address of the service account. If this service account is not specified, the container runs as a service account that doesn't have access to the resource project. Users deploying the Model must have the `iam.serviceAccounts.actAs` permission on this service account.
string service_account = 11;- Specified by:
getServiceAccountBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for serviceAccount.
-
getDisableContainerLogging
public boolean getDisableContainerLogging()For custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true.
bool disable_container_logging = 15;- Specified by:
getDisableContainerLoggingin interfaceDeployedModelOrBuilder- Returns:
- The disableContainerLogging.
-
getEnableAccessLogging
public boolean getEnableAccessLogging()If true, online prediction access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each prediction request. Note that logs may incur a cost, especially if your project receives prediction requests at a high queries per second rate (QPS). Estimate your costs before enabling this option.
bool enable_access_logging = 13;- Specified by:
getEnableAccessLoggingin interfaceDeployedModelOrBuilder- Returns:
- The enableAccessLogging.
-
hasPrivateEndpoints
public boolean hasPrivateEndpoints()Output only. Provide paths for users to send predict/explain/health requests directly to the deployed model services running on Cloud via private services access. This field is populated if [network][google.cloud.aiplatform.v1.Endpoint.network] is configured.
.google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPrivateEndpointsin interfaceDeployedModelOrBuilder- Returns:
- Whether the privateEndpoints field is set.
-
getPrivateEndpoints
Output only. Provide paths for users to send predict/explain/health requests directly to the deployed model services running on Cloud via private services access. This field is populated if [network][google.cloud.aiplatform.v1.Endpoint.network] is configured.
.google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrivateEndpointsin interfaceDeployedModelOrBuilder- Returns:
- The privateEndpoints.
-
getPrivateEndpointsOrBuilder
Output only. Provide paths for users to send predict/explain/health requests directly to the deployed model services running on Cloud via private services access. This field is populated if [network][google.cloud.aiplatform.v1.Endpoint.network] is configured.
.google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrivateEndpointsOrBuilderin interfaceDeployedModelOrBuilder
-
hasFasterDeploymentConfig
public boolean hasFasterDeploymentConfig()Configuration for faster model deployment.
.google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;- Specified by:
hasFasterDeploymentConfigin interfaceDeployedModelOrBuilder- Returns:
- Whether the fasterDeploymentConfig field is set.
-
getFasterDeploymentConfig
Configuration for faster model deployment.
.google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;- Specified by:
getFasterDeploymentConfigin interfaceDeployedModelOrBuilder- Returns:
- The fasterDeploymentConfig.
-
getFasterDeploymentConfigOrBuilder
Configuration for faster model deployment.
.google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;- Specified by:
getFasterDeploymentConfigOrBuilderin interfaceDeployedModelOrBuilder
-
hasStatus
public boolean hasStatus()Output only. Runtime status of the deployed model.
.google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatusin interfaceDeployedModelOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. Runtime status of the deployed model.
.google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceDeployedModelOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
Output only. Runtime status of the deployed model.
.google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusOrBuilderin interfaceDeployedModelOrBuilder
-
getSystemLabelsCount
public int getSystemLabelsCount()Description copied from interface:DeployedModelOrBuilderSystem labels to apply to Model Garden deployments. System labels are managed by Google for internal use only.
map<string, string> system_labels = 28;- Specified by:
getSystemLabelsCountin interfaceDeployedModelOrBuilder
-
containsSystemLabels
System labels to apply to Model Garden deployments. System labels are managed by Google for internal use only.
map<string, string> system_labels = 28;- Specified by:
containsSystemLabelsin interfaceDeployedModelOrBuilder
-
getSystemLabels
Deprecated.UsegetSystemLabelsMap()instead.- Specified by:
getSystemLabelsin interfaceDeployedModelOrBuilder
-
getSystemLabelsMap
System labels to apply to Model Garden deployments. System labels are managed by Google for internal use only.
map<string, string> system_labels = 28;- Specified by:
getSystemLabelsMapin interfaceDeployedModelOrBuilder
-
getSystemLabelsOrDefault
System labels to apply to Model Garden deployments. System labels are managed by Google for internal use only.
map<string, string> system_labels = 28;- Specified by:
getSystemLabelsOrDefaultin interfaceDeployedModelOrBuilder
-
getSystemLabelsOrThrow
System labels to apply to Model Garden deployments. System labels are managed by Google for internal use only.
map<string, string> system_labels = 28;- Specified by:
getSystemLabelsOrThrowin interfaceDeployedModelOrBuilder
-
getCheckpointId
The checkpoint id of the model.
string checkpoint_id = 29;- Specified by:
getCheckpointIdin interfaceDeployedModelOrBuilder- Returns:
- The checkpointId.
-
getCheckpointIdBytes
public com.google.protobuf.ByteString getCheckpointIdBytes()The checkpoint id of the model.
string checkpoint_id = 29;- Specified by:
getCheckpointIdBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for checkpointId.
-
hasSpeculativeDecodingSpec
public boolean hasSpeculativeDecodingSpec()Optional. Spec for configuring speculative decoding.
.google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSpeculativeDecodingSpecin interfaceDeployedModelOrBuilder- Returns:
- Whether the speculativeDecodingSpec field is set.
-
getSpeculativeDecodingSpec
Optional. Spec for configuring speculative decoding.
.google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpeculativeDecodingSpecin interfaceDeployedModelOrBuilder- Returns:
- The speculativeDecodingSpec.
-
getSpeculativeDecodingSpecOrBuilder
Optional. Spec for configuring speculative decoding.
.google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSpeculativeDecodingSpecOrBuilderin interfaceDeployedModelOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 DeployedModel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployedModel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployedModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployedModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployedModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DeployedModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DeployedModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DeployedModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DeployedModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DeployedModel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeployedModel.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-