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 class
DeployedModel.Builder
A deployment of a Model.static class
DeployedModel.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 int
AUTOMATIC_RESOURCES_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DEDICATED_RESOURCES_FIELD_NUMBER
static int
DISABLE_EXPLANATIONS_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENABLE_ACCESS_LOGGING_FIELD_NUMBER
static int
ENABLE_CONTAINER_LOGGING_FIELD_NUMBER
static int
EXPLANATION_SPEC_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
MODEL_FIELD_NUMBER
static int
MODEL_VERSION_ID_FIELD_NUMBER
static int
PRIVATE_ENDPOINTS_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
SHARED_RESOURCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AutomaticResources
getAutomaticResources()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.AutomaticResourcesOrBuilder
getAutomaticResourcesOrBuilder()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DedicatedResources
getDedicatedResources()
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.DedicatedResourcesOrBuilder
getDedicatedResourcesOrBuilder()
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.static DeployedModel
getDefaultInstance()
DeployedModel
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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].String
getDisplayName()
The display name of the DeployedModel.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the DeployedModel.boolean
getEnableAccessLogging()
If true, online prediction access logs are sent to Cloud Logging.boolean
getEnableContainerLogging()
If true, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging.ExplanationSpec
getExplanationSpec()
Explanation configuration for this DeployedModel.ExplanationSpecOrBuilder
getExplanationSpecOrBuilder()
Explanation configuration for this DeployedModel.String
getId()
Immutable.com.google.protobuf.ByteString
getIdBytes()
Immutable.String
getModel()
Required.com.google.protobuf.ByteString
getModelBytes()
Required.String
getModelVersionId()
Output only.com.google.protobuf.ByteString
getModelVersionIdBytes()
Output only.com.google.protobuf.Parser<DeployedModel>
getParserForType()
DeployedModel.PredictionResourcesCase
getPredictionResourcesCase()
PrivateEndpoints
getPrivateEndpoints()
Output only.PrivateEndpointsOrBuilder
getPrivateEndpointsOrBuilder()
Output only.int
getSerializedSize()
String
getServiceAccount()
The service account that the DeployedModel's container runs as.com.google.protobuf.ByteString
getServiceAccountBytes()
The service account that the DeployedModel's container runs as.String
getSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on.com.google.protobuf.ByteString
getSharedResourcesBytes()
The resource name of the shared DeploymentResourcePool to deploy on.boolean
hasAutomaticResources()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.boolean
hasCreateTime()
Output only.boolean
hasDedicatedResources()
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.boolean
hasExplanationSpec()
Explanation configuration for this DeployedModel.int
hashCode()
boolean
hasPrivateEndpoints()
Output only.boolean
hasSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DeployedModel.Builder
newBuilder()
static DeployedModel.Builder
newBuilder(DeployedModel prototype)
DeployedModel.Builder
newBuilderForType()
protected DeployedModel.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DeployedModel
parseDelimitedFrom(InputStream input)
static DeployedModel
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeployedModel
parseFrom(byte[] data)
static DeployedModel
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeployedModel
parseFrom(com.google.protobuf.ByteString data)
static DeployedModel
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeployedModel
parseFrom(com.google.protobuf.CodedInputStream input)
static DeployedModel
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeployedModel
parseFrom(InputStream input)
static DeployedModel
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DeployedModel
parseFrom(ByteBuffer data)
static DeployedModel
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DeployedModel>
parser()
DeployedModel.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getPredictionResourcesCase
public DeployedModel.PredictionResourcesCase getPredictionResourcesCase()
- Specified by:
getPredictionResourcesCase
in 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:
hasDedicatedResources
in 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:
getDedicatedResources
in 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:
getDedicatedResourcesOrBuilder
in 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:
hasAutomaticResources
in 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:
getAutomaticResources
in 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:
getAutomaticResourcesOrBuilder
in 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:
hasSharedResources
in 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:
getSharedResources
in 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:
getSharedResourcesBytes
in 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:
getId
in 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:
getIdBytes
in 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:
getModel
in 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:
getModelBytes
in 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:
getModelVersionId
in 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:
getModelVersionIdBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasExplanationSpec
in 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:
getExplanationSpec
in 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:
getExplanationSpecOrBuilder
in 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:
getDisableExplanations
in 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:
getServiceAccount
in 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:
getServiceAccountBytes
in 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:
getEnableContainerLogging
in 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:
getEnableAccessLogging
in 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:
hasPrivateEndpoints
in 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:
getPrivateEndpoints
in 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:
getPrivateEndpointsOrBuilder
in interfaceDeployedModelOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeployedModel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DeployedModel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-