Class DeployedModel.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
- com.google.cloud.aiplatform.v1beta1.DeployedModel.Builder
-
- All Implemented Interfaces:
DeployedModelOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DeployedModel
public static final class DeployedModel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder> implements DeployedModelOrBuilder
A deployment of a Model. Endpoints contain one or more DeployedModels.
Protobuf typegoogle.cloud.aiplatform.v1beta1.DeployedModel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployedModel.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeployedModel
build()
DeployedModel
buildPartial()
DeployedModel.Builder
clear()
DeployedModel.Builder
clearAutomaticResources()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.DeployedModel.Builder
clearCreateTime()
Output only.DeployedModel.Builder
clearDedicatedResources()
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.DeployedModel.Builder
clearDisableExplanations()
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].DeployedModel.Builder
clearDisplayName()
The display name of the DeployedModel.DeployedModel.Builder
clearEnableAccessLogging()
If true, online prediction access logs are sent to Cloud Logging.DeployedModel.Builder
clearEnableContainerLogging()
If true, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging.DeployedModel.Builder
clearExplanationSpec()
Explanation configuration for this DeployedModel.DeployedModel.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DeployedModel.Builder
clearId()
Immutable.DeployedModel.Builder
clearModel()
Required.DeployedModel.Builder
clearModelVersionId()
Output only.DeployedModel.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeployedModel.Builder
clearPredictionResources()
DeployedModel.Builder
clearPrivateEndpoints()
Output only.DeployedModel.Builder
clearServiceAccount()
The service account that the DeployedModel's container runs as.DeployedModel.Builder
clearSharedResources()
The resource name of the shared DeploymentResourcePool to deploy on.DeployedModel.Builder
clone()
AutomaticResources
getAutomaticResources()
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.AutomaticResources.Builder
getAutomaticResourcesBuilder()
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.Timestamp.Builder
getCreateTimeBuilder()
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.DedicatedResources.Builder
getDedicatedResourcesBuilder()
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.DeployedModel
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.ExplanationSpec.Builder
getExplanationSpecBuilder()
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.DeployedModel.PredictionResourcesCase
getPredictionResourcesCase()
PrivateEndpoints
getPrivateEndpoints()
Output only.PrivateEndpoints.Builder
getPrivateEndpointsBuilder()
Output only.PrivateEndpointsOrBuilder
getPrivateEndpointsOrBuilder()
Output only.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.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()
DeployedModel.Builder
mergeAutomaticResources(AutomaticResources value)
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.DeployedModel.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.DeployedModel.Builder
mergeDedicatedResources(DedicatedResources value)
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.DeployedModel.Builder
mergeExplanationSpec(ExplanationSpec value)
Explanation configuration for this DeployedModel.DeployedModel.Builder
mergeFrom(DeployedModel other)
DeployedModel.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DeployedModel.Builder
mergeFrom(com.google.protobuf.Message other)
DeployedModel.Builder
mergePrivateEndpoints(PrivateEndpoints value)
Output only.DeployedModel.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DeployedModel.Builder
setAutomaticResources(AutomaticResources value)
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.DeployedModel.Builder
setAutomaticResources(AutomaticResources.Builder builderForValue)
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration.DeployedModel.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.DeployedModel.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DeployedModel.Builder
setDedicatedResources(DedicatedResources value)
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.DeployedModel.Builder
setDedicatedResources(DedicatedResources.Builder builderForValue)
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.DeployedModel.Builder
setDisableExplanations(boolean value)
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].DeployedModel.Builder
setDisplayName(String value)
The display name of the DeployedModel.DeployedModel.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the DeployedModel.DeployedModel.Builder
setEnableAccessLogging(boolean value)
If true, online prediction access logs are sent to Cloud Logging.DeployedModel.Builder
setEnableContainerLogging(boolean value)
If true, the container of the DeployedModel instances will send `stderr` and `stdout` streams to Cloud Logging.DeployedModel.Builder
setExplanationSpec(ExplanationSpec value)
Explanation configuration for this DeployedModel.DeployedModel.Builder
setExplanationSpec(ExplanationSpec.Builder builderForValue)
Explanation configuration for this DeployedModel.DeployedModel.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeployedModel.Builder
setId(String value)
Immutable.DeployedModel.Builder
setIdBytes(com.google.protobuf.ByteString value)
Immutable.DeployedModel.Builder
setModel(String value)
Required.DeployedModel.Builder
setModelBytes(com.google.protobuf.ByteString value)
Required.DeployedModel.Builder
setModelVersionId(String value)
Output only.DeployedModel.Builder
setModelVersionIdBytes(com.google.protobuf.ByteString value)
Output only.DeployedModel.Builder
setPrivateEndpoints(PrivateEndpoints value)
Output only.DeployedModel.Builder
setPrivateEndpoints(PrivateEndpoints.Builder builderForValue)
Output only.DeployedModel.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DeployedModel.Builder
setServiceAccount(String value)
The service account that the DeployedModel's container runs as.DeployedModel.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account that the DeployedModel's container runs as.DeployedModel.Builder
setSharedResources(String value)
The resource name of the shared DeploymentResourcePool to deploy on.DeployedModel.Builder
setSharedResourcesBytes(com.google.protobuf.ByteString value)
The resource name of the shared DeploymentResourcePool to deploy on.DeployedModel.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<DeployedModel.Builder>
-
clear
public DeployedModel.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
getDefaultInstanceForType
public DeployedModel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeployedModel build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeployedModel buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeployedModel.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
setField
public DeployedModel.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
clearField
public DeployedModel.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
clearOneof
public DeployedModel.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
setRepeatedField
public DeployedModel.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
addRepeatedField
public DeployedModel.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
mergeFrom
public DeployedModel.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DeployedModel.Builder>
-
mergeFrom
public DeployedModel.Builder mergeFrom(DeployedModel other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
mergeFrom
public DeployedModel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DeployedModel.Builder>
- Throws:
IOException
-
getPredictionResourcesCase
public DeployedModel.PredictionResourcesCase getPredictionResourcesCase()
- Specified by:
getPredictionResourcesCase
in interfaceDeployedModelOrBuilder
-
clearPredictionResources
public DeployedModel.Builder clearPredictionResources()
-
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.
-
setDedicatedResources
public DeployedModel.Builder setDedicatedResources(DedicatedResources value)
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;
-
setDedicatedResources
public DeployedModel.Builder setDedicatedResources(DedicatedResources.Builder builderForValue)
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;
-
mergeDedicatedResources
public DeployedModel.Builder mergeDedicatedResources(DedicatedResources value)
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;
-
clearDedicatedResources
public DeployedModel.Builder clearDedicatedResources()
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;
-
getDedicatedResourcesBuilder
public DedicatedResources.Builder getDedicatedResourcesBuilder()
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;
-
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.
-
setAutomaticResources
public DeployedModel.Builder setAutomaticResources(AutomaticResources value)
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;
-
setAutomaticResources
public DeployedModel.Builder setAutomaticResources(AutomaticResources.Builder builderForValue)
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;
-
mergeAutomaticResources
public DeployedModel.Builder mergeAutomaticResources(AutomaticResources value)
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;
-
clearAutomaticResources
public DeployedModel.Builder clearAutomaticResources()
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;
-
getAutomaticResourcesBuilder
public AutomaticResources.Builder getAutomaticResourcesBuilder()
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;
-
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.
-
setSharedResources
public DeployedModel.Builder setSharedResources(String value)
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) = { ... }
- Parameters:
value
- The sharedResources to set.- Returns:
- This builder for chaining.
-
clearSharedResources
public DeployedModel.Builder clearSharedResources()
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) = { ... }
- Returns:
- This builder for chaining.
-
setSharedResourcesBytes
public DeployedModel.Builder setSharedResourcesBytes(com.google.protobuf.ByteString value)
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) = { ... }
- Parameters:
value
- The bytes for sharedResources to set.- Returns:
- This builder for chaining.
-
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.
-
setId
public DeployedModel.Builder setId(String value)
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];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public DeployedModel.Builder clearId()
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];
- Returns:
- This builder for chaining.
-
setIdBytes
public DeployedModel.Builder setIdBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setModel
public DeployedModel.Builder setModel(String value)
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) = { ... }
- Parameters:
value
- The model to set.- Returns:
- This builder for chaining.
-
clearModel
public DeployedModel.Builder clearModel()
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) = { ... }
- Returns:
- This builder for chaining.
-
setModelBytes
public DeployedModel.Builder setModelBytes(com.google.protobuf.ByteString value)
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) = { ... }
- Parameters:
value
- The bytes for model to set.- Returns:
- This builder for chaining.
-
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.
-
setModelVersionId
public DeployedModel.Builder setModelVersionId(String value)
Output only. The version ID of the model that is deployed.
string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The modelVersionId to set.- Returns:
- This builder for chaining.
-
clearModelVersionId
public DeployedModel.Builder clearModelVersionId()
Output only. The version ID of the model that is deployed.
string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setModelVersionIdBytes
public DeployedModel.Builder setModelVersionIdBytes(com.google.protobuf.ByteString value)
Output only. The version ID of the model that is deployed.
string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for modelVersionId to set.- Returns:
- This builder for chaining.
-
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.
-
setDisplayName
public DeployedModel.Builder setDisplayName(String value)
The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.
string display_name = 3;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public DeployedModel.Builder clearDisplayName()
The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.
string display_name = 3;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DeployedModel.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.
string display_name = 3;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public DeployedModel.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DeployedModel.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DeployedModel.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public DeployedModel.Builder clearCreateTime()
Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when the DeployedModel was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setExplanationSpec
public DeployedModel.Builder setExplanationSpec(ExplanationSpec value)
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;
-
setExplanationSpec
public DeployedModel.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)
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;
-
mergeExplanationSpec
public DeployedModel.Builder mergeExplanationSpec(ExplanationSpec value)
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;
-
clearExplanationSpec
public DeployedModel.Builder clearExplanationSpec()
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;
-
getExplanationSpecBuilder
public ExplanationSpec.Builder getExplanationSpecBuilder()
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;
-
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.
-
setDisableExplanations
public DeployedModel.Builder setDisableExplanations(boolean value)
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;
- Parameters:
value
- The disableExplanations to set.- Returns:
- This builder for chaining.
-
clearDisableExplanations
public DeployedModel.Builder clearDisableExplanations()
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;
- Returns:
- This builder for chaining.
-
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.
-
setServiceAccount
public DeployedModel.Builder setServiceAccount(String value)
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;
- Parameters:
value
- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public DeployedModel.Builder clearServiceAccount()
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;
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public DeployedModel.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
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.
-
setEnableContainerLogging
public DeployedModel.Builder setEnableContainerLogging(boolean value)
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;
- Parameters:
value
- The enableContainerLogging to set.- Returns:
- This builder for chaining.
-
clearEnableContainerLogging
public DeployedModel.Builder clearEnableContainerLogging()
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;
- Returns:
- This builder for chaining.
-
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.
-
setEnableAccessLogging
public DeployedModel.Builder setEnableAccessLogging(boolean value)
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;
- Parameters:
value
- The enableAccessLogging to set.- Returns:
- This builder for chaining.
-
clearEnableAccessLogging
public DeployedModel.Builder clearEnableAccessLogging()
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;
- Returns:
- This builder for chaining.
-
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.
-
setPrivateEndpoints
public DeployedModel.Builder setPrivateEndpoints(PrivateEndpoints value)
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];
-
setPrivateEndpoints
public DeployedModel.Builder setPrivateEndpoints(PrivateEndpoints.Builder builderForValue)
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];
-
mergePrivateEndpoints
public DeployedModel.Builder mergePrivateEndpoints(PrivateEndpoints value)
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];
-
clearPrivateEndpoints
public DeployedModel.Builder clearPrivateEndpoints()
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];
-
getPrivateEndpointsBuilder
public PrivateEndpoints.Builder getPrivateEndpointsBuilder()
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];
-
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
-
setUnknownFields
public final DeployedModel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
mergeUnknownFields
public final DeployedModel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
-
-