Class DeployedModel
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1beta1.DeployedModel
-
- All Implemented Interfaces:
DeployedModelOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DeployedModel extends com.google.protobuf.GeneratedMessageV3 implements DeployedModelOrBuilder
A deployment of a Model. Endpoints contain one or more DeployedModels.
Protobuf typegoogle.cloud.aiplatform.v1beta1.DeployedModel- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeployedModel.BuilderA deployment of a Model.static classDeployedModel.PredictionResourcesCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTOMATIC_RESOURCES_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDEDICATED_RESOURCES_FIELD_NUMBERstatic intDISABLE_EXPLANATIONS_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENABLE_ACCESS_LOGGING_FIELD_NUMBERstatic intENABLE_CONTAINER_LOGGING_FIELD_NUMBERstatic intEXPLANATION_SPEC_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMODEL_FIELD_NUMBERstatic intMODEL_VERSION_ID_FIELD_NUMBERstatic intPRIVATE_ENDPOINTS_FIELD_NUMBERstatic intSERVICE_ACCOUNT_FIELD_NUMBERstatic intSHARED_RESOURCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AutomaticResourcesgetAutomaticResources()A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.AutomaticResourcesOrBuildergetAutomaticResourcesOrBuilder()A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DedicatedResourcesgetDedicatedResources()A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.DedicatedResourcesOrBuildergetDedicatedResourcesOrBuilder()A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.static DeployedModelgetDefaultInstance()DeployedModelgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDisableExplanations()If true, deploy the model without explainable feature, regardless the existence of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] or [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].StringgetDisplayName()The display name of the DeployedModel.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the DeployedModel.booleangetEnableAccessLogging()If true, online prediction access logs are sent to Cloud Logging.booleangetEnableContainerLogging()If true, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging.ExplanationSpecgetExplanationSpec()Explanation configuration for this DeployedModel.ExplanationSpecOrBuildergetExplanationSpecOrBuilder()Explanation configuration for this DeployedModel.StringgetId()Immutable.com.google.protobuf.ByteStringgetIdBytes()Immutable.StringgetModel()Required.com.google.protobuf.ByteStringgetModelBytes()Required.StringgetModelVersionId()Output only.com.google.protobuf.ByteStringgetModelVersionIdBytes()Output only.com.google.protobuf.Parser<DeployedModel>getParserForType()DeployedModel.PredictionResourcesCasegetPredictionResourcesCase()PrivateEndpointsgetPrivateEndpoints()Output only.PrivateEndpointsOrBuildergetPrivateEndpointsOrBuilder()Output only.intgetSerializedSize()StringgetServiceAccount()The service account that the DeployedModel's container runs as.com.google.protobuf.ByteStringgetServiceAccountBytes()The service account that the DeployedModel's container runs as.StringgetSharedResources()The resource name of the shared DeploymentResourcePool to deploy on.com.google.protobuf.ByteStringgetSharedResourcesBytes()The resource name of the shared DeploymentResourcePool to deploy on.booleanhasAutomaticResources()A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.booleanhasCreateTime()Output only.booleanhasDedicatedResources()A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.booleanhasExplanationSpec()Explanation configuration for this DeployedModel.inthashCode()booleanhasPrivateEndpoints()Output only.booleanhasSharedResources()The resource name of the shared DeploymentResourcePool to deploy on.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DeployedModel.BuildernewBuilder()static DeployedModel.BuildernewBuilder(DeployedModel prototype)DeployedModel.BuildernewBuilderForType()protected DeployedModel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()DeployedModel.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEDICATED_RESOURCES_FIELD_NUMBER
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOMATIC_RESOURCES_FIELD_NUMBER
public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHARED_RESOURCES_FIELD_NUMBER
public static final int SHARED_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODEL_VERSION_ID_FIELD_NUMBER
public static final int MODEL_VERSION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPLANATION_SPEC_FIELD_NUMBER
public static final int EXPLANATION_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_EXPLANATIONS_FIELD_NUMBER
public static final int DISABLE_EXPLANATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_CONTAINER_LOGGING_FIELD_NUMBER
public static final int ENABLE_CONTAINER_LOGGING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_ACCESS_LOGGING_FIELD_NUMBER
public static final int ENABLE_ACCESS_LOGGING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_ENDPOINTS_FIELD_NUMBER
public static final int PRIVATE_ENDPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPredictionResourcesCase
public DeployedModel.PredictionResourcesCase 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.v1beta1.DedicatedResources dedicated_resources = 7;- Specified by:
hasDedicatedResourcesin interfaceDeployedModelOrBuilder- Returns:
- Whether the dedicatedResources field is set.
-
getDedicatedResources
public DedicatedResources getDedicatedResources()
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 7;- Specified by:
getDedicatedResourcesin interfaceDeployedModelOrBuilder- Returns:
- The dedicatedResources.
-
getDedicatedResourcesOrBuilder
public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.aiplatform.v1beta1.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.v1beta1.AutomaticResources automatic_resources = 8;- Specified by:
hasAutomaticResourcesin interfaceDeployedModelOrBuilder- Returns:
- Whether the automaticResources field is set.
-
getAutomaticResources
public AutomaticResources getAutomaticResources()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1beta1.AutomaticResources automatic_resources = 8;- Specified by:
getAutomaticResourcesin interfaceDeployedModelOrBuilder- Returns:
- The automaticResources.
-
getAutomaticResourcesOrBuilder
public AutomaticResourcesOrBuilder getAutomaticResourcesOrBuilder()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.
.google.cloud.aiplatform.v1beta1.AutomaticResources automatic_resources = 8;- Specified by:
getAutomaticResourcesOrBuilderin interfaceDeployedModelOrBuilder
-
hasSharedResources
public boolean hasSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`string shared_resources = 17 [(.google.api.resource_reference) = { ... }- Specified by:
hasSharedResourcesin interfaceDeployedModelOrBuilder- Returns:
- Whether the sharedResources field is set.
-
getSharedResources
public String getSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`string shared_resources = 17 [(.google.api.resource_reference) = { ... }- Specified by:
getSharedResourcesin interfaceDeployedModelOrBuilder- Returns:
- The sharedResources.
-
getSharedResourcesBytes
public com.google.protobuf.ByteString getSharedResourcesBytes()
The resource name of the shared DeploymentResourcePool to deploy on. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`string shared_resources = 17 [(.google.api.resource_reference) = { ... }- Specified by:
getSharedResourcesBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for sharedResources.
-
getId
public String 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
public String getModel()
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getModelin interfaceDeployedModelOrBuilder- Returns:
- The model.
-
getModelBytes
public com.google.protobuf.ByteString getModelBytes()
Required. 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.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getModelBytesin interfaceDeployedModelOrBuilder- Returns:
- The bytes for model.
-
getModelVersionId
public String 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
public String 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.v1beta1.EndpointService.DeployModel], this value overrides the value of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]. All fields of [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] are optional in the request. If a field of [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] is not populated, the value of the same field of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] is inherited. If the corresponding [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] is not populated, all fields of the [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] will be used for the explanation configuration.
.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 9;- Specified by:
hasExplanationSpecin interfaceDeployedModelOrBuilder- Returns:
- Whether the explanationSpec field is set.
-
getExplanationSpec
public ExplanationSpec getExplanationSpec()
Explanation configuration for this DeployedModel. When deploying a Model using [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel], this value overrides the value of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]. All fields of [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] are optional in the request. If a field of [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] is not populated, the value of the same field of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] is inherited. If the corresponding [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] is not populated, all fields of the [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] will be used for the explanation configuration.
.google.cloud.aiplatform.v1beta1.ExplanationSpec explanation_spec = 9;- Specified by:
getExplanationSpecin interfaceDeployedModelOrBuilder- Returns:
- The explanationSpec.
-
getExplanationSpecOrBuilder
public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()
Explanation configuration for this DeployedModel. When deploying a Model using [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel], this value overrides the value of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]. All fields of [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] are optional in the request. If a field of [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] is not populated, the value of the same field of [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] is inherited. If the corresponding [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] is not populated, all fields of the [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] will be used for the explanation configuration.
.google.cloud.aiplatform.v1beta1.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.v1beta1.Model.explanation_spec] or [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].
bool disable_explanations = 19;- Specified by:
getDisableExplanationsin interfaceDeployedModelOrBuilder- Returns:
- The disableExplanations.
-
getServiceAccount
public String 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.
-
getEnableContainerLogging
public boolean getEnableContainerLogging()
If true, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging. Only supported for custom-trained Models and AutoML Tabular Models.
bool enable_container_logging = 12;- Specified by:
getEnableContainerLoggingin interfaceDeployedModelOrBuilder- Returns:
- The enableContainerLogging.
-
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.v1beta1.Endpoint.network] is configured.
.google.cloud.aiplatform.v1beta1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPrivateEndpointsin interfaceDeployedModelOrBuilder- Returns:
- Whether the privateEndpoints field is set.
-
getPrivateEndpoints
public PrivateEndpoints 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.v1beta1.Endpoint.network] is configured.
.google.cloud.aiplatform.v1beta1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrivateEndpointsin interfaceDeployedModelOrBuilder- Returns:
- The privateEndpoints.
-
getPrivateEndpointsOrBuilder
public PrivateEndpointsOrBuilder 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.v1beta1.Endpoint.network] is configured.
.google.cloud.aiplatform.v1beta1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrivateEndpointsOrBuilderin interfaceDeployedModelOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static DeployedModel parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DeployedModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DeployedModel parseDelimitedFrom(InputStream input) throws IOException
- 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
public DeployedModel.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DeployedModel.Builder newBuilder()
-
newBuilder
public static DeployedModel.Builder newBuilder(DeployedModel prototype)
-
toBuilder
public DeployedModel.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeployedModel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DeployedModel getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DeployedModel> parser()
-
getParserForType
public com.google.protobuf.Parser<DeployedModel> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeployedModel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-