Class DeployedModel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
com.google.cloud.aiplatform.v1.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.GeneratedMessage.Builder<DeployedModel.Builder> implements DeployedModelOrBuilder
 A deployment of a Model. Endpoints contain one or more DeployedModels.
 
Protobuf type google.cloud.aiplatform.v1.DeployedModel
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
    • clear

      public DeployedModel.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
    • getDefaultInstanceForType

      public DeployedModel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DeployedModel build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DeployedModel buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DeployedModel.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployedModel.Builder>
    • mergeFrom

      public DeployedModel.Builder mergeFrom(DeployedModel other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployedModel.Builder>
    • mergeFrom

      public DeployedModel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeployedModel.Builder>
      Throws:
      IOException
    • getPredictionResourcesCase

      public DeployedModel.PredictionResourcesCase getPredictionResourcesCase()
      Specified by:
      getPredictionResourcesCase in interface DeployedModelOrBuilder
    • 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.v1.DedicatedResources dedicated_resources = 7;
      Specified by:
      hasDedicatedResources in interface DeployedModelOrBuilder
      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.v1.DedicatedResources dedicated_resources = 7;
      Specified by:
      getDedicatedResources in interface DeployedModelOrBuilder
      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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.DedicatedResources dedicated_resources = 7;
      Specified by:
      getDedicatedResourcesOrBuilder in interface DeployedModelOrBuilder
    • hasAutomaticResources

      public boolean hasAutomaticResources()
       A description of resources that to large degree are decided by Vertex
       AI, and require only a modest additional configuration.
       
      .google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 8;
      Specified by:
      hasAutomaticResources in interface DeployedModelOrBuilder
      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.v1.AutomaticResources automatic_resources = 8;
      Specified by:
      getAutomaticResources in interface DeployedModelOrBuilder
      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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.AutomaticResources automatic_resources = 8;
      Specified by:
      getAutomaticResourcesOrBuilder in interface DeployedModelOrBuilder
    • 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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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()
       The resource name of the Model that this is the deployment of. Note that
       the Model may be in a different location than the DeployedModel's Endpoint.
      
       The resource name may contain version id or version alias to specify the
       version.
       Example: `projects/{project}/locations/{location}/models/{model}@2`
       or
       `projects/{project}/locations/{location}/models/{model}@golden`
       if no version is specified, the default version will be deployed.
       
      string model = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getModel in interface DeployedModelOrBuilder
      Returns:
      The model.
    • getModelBytes

      public com.google.protobuf.ByteString getModelBytes()
       The resource name of the Model that this is the deployment of. Note that
       the Model may be in a different location than the DeployedModel's Endpoint.
      
       The resource name may contain version id or version alias to specify the
       version.
       Example: `projects/{project}/locations/{location}/models/{model}@2`
       or
       `projects/{project}/locations/{location}/models/{model}@golden`
       if no version is specified, the default version will be deployed.
       
      string model = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getModelBytes in interface DeployedModelOrBuilder
      Returns:
      The bytes for model.
    • setModel

      public DeployedModel.Builder setModel(String value)
       The resource name of the Model that this is the deployment of. Note that
       the Model may be in a different location than the DeployedModel's Endpoint.
      
       The resource name may contain version id or version alias to specify the
       version.
       Example: `projects/{project}/locations/{location}/models/{model}@2`
       or
       `projects/{project}/locations/{location}/models/{model}@golden`
       if no version is specified, the default version will be deployed.
       
      string model = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The model to set.
      Returns:
      This builder for chaining.
    • clearModel

      public DeployedModel.Builder clearModel()
       The resource name of the Model that this is the deployment of. Note that
       the Model may be in a different location than the DeployedModel's Endpoint.
      
       The resource name may contain version id or version alias to specify the
       version.
       Example: `projects/{project}/locations/{location}/models/{model}@2`
       or
       `projects/{project}/locations/{location}/models/{model}@golden`
       if no version is specified, the default version will be deployed.
       
      string model = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setModelBytes

      public DeployedModel.Builder setModelBytes(com.google.protobuf.ByteString value)
       The resource name of the Model that this is the deployment of. Note that
       the Model may be in a different location than the DeployedModel's Endpoint.
      
       The resource name may contain version id or version alias to specify the
       version.
       Example: `projects/{project}/locations/{location}/models/{model}@2`
       or
       `projects/{project}/locations/{location}/models/{model}@golden`
       if no version is specified, the default version will be deployed.
       
      string model = 2 [(.google.api.resource_reference) = { ... }
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
    • hasExplanationSpec

      public boolean hasExplanationSpec()
       Explanation configuration for this DeployedModel.
      
       When deploying a Model using
       [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
      Specified by:
      hasExplanationSpec in interface DeployedModelOrBuilder
      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.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
      Specified by:
      getExplanationSpec in interface DeployedModelOrBuilder
      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.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
    • setExplanationSpec

      public DeployedModel.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)
       Explanation configuration for this DeployedModel.
      
       When deploying a Model using
       [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
    • mergeExplanationSpec

      public DeployedModel.Builder mergeExplanationSpec(ExplanationSpec value)
       Explanation configuration for this DeployedModel.
      
       When deploying a Model using
       [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
    • clearExplanationSpec

      public DeployedModel.Builder clearExplanationSpec()
       Explanation configuration for this DeployedModel.
      
       When deploying a Model using
       [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
    • getExplanationSpecBuilder

      public ExplanationSpec.Builder getExplanationSpecBuilder()
       Explanation configuration for this DeployedModel.
      
       When deploying a Model using
       [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
    • getExplanationSpecOrBuilder

      public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()
       Explanation configuration for this DeployedModel.
      
       When deploying a Model using
       [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel],
       this value overrides the value of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec].
       All fields of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       are optional in the request. If a field of
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       is not populated, the value of the same field of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is inherited. If the corresponding
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       is not populated, all fields of the
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]
       will be used for the explanation configuration.
       
      .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
      Specified by:
      getExplanationSpecOrBuilder in interface DeployedModelOrBuilder
    • getDisableExplanations

      public boolean getDisableExplanations()
       If true, deploy the model without explainable feature, regardless the
       existence of
       [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]
       or
       [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec].
       
      bool disable_explanations = 19;
      Specified by:
      getDisableExplanations in interface DeployedModelOrBuilder
      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.v1.Model.explanation_spec]
       or
       [explanation_spec][google.cloud.aiplatform.v1.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.v1.Model.explanation_spec]
       or
       [explanation_spec][google.cloud.aiplatform.v1.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 interface DeployedModelOrBuilder
      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 interface DeployedModelOrBuilder
      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.
    • getDisableContainerLogging

      public boolean getDisableContainerLogging()
       For custom-trained Models and AutoML Tabular Models, the container of the
       DeployedModel instances will send `stderr` and `stdout` streams to
       Cloud Logging by default. Please note that the logs incur cost,
       which are subject to [Cloud Logging
       pricing](https://cloud.google.com/logging/pricing).
      
       User can disable container logging by setting this flag to true.
       
      bool disable_container_logging = 15;
      Specified by:
      getDisableContainerLogging in interface DeployedModelOrBuilder
      Returns:
      The disableContainerLogging.
    • setDisableContainerLogging

      public DeployedModel.Builder setDisableContainerLogging(boolean value)
       For custom-trained Models and AutoML Tabular Models, the container of the
       DeployedModel instances will send `stderr` and `stdout` streams to
       Cloud Logging by default. Please note that the logs incur cost,
       which are subject to [Cloud Logging
       pricing](https://cloud.google.com/logging/pricing).
      
       User can disable container logging by setting this flag to true.
       
      bool disable_container_logging = 15;
      Parameters:
      value - The disableContainerLogging to set.
      Returns:
      This builder for chaining.
    • clearDisableContainerLogging

      public DeployedModel.Builder clearDisableContainerLogging()
       For custom-trained Models and AutoML Tabular Models, the container of the
       DeployedModel instances will send `stderr` and `stdout` streams to
       Cloud Logging by default. Please note that the logs incur cost,
       which are subject to [Cloud Logging
       pricing](https://cloud.google.com/logging/pricing).
      
       User can disable container logging by setting this flag to true.
       
      bool disable_container_logging = 15;
      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 interface DeployedModelOrBuilder
      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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPrivateEndpoints in interface DeployedModelOrBuilder
      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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrivateEndpoints in interface DeployedModelOrBuilder
      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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.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.v1.Endpoint.network] is configured.
       
      .google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrivateEndpointsOrBuilder in interface DeployedModelOrBuilder
    • hasFasterDeploymentConfig

      public boolean hasFasterDeploymentConfig()
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
      Specified by:
      hasFasterDeploymentConfig in interface DeployedModelOrBuilder
      Returns:
      Whether the fasterDeploymentConfig field is set.
    • getFasterDeploymentConfig

      public FasterDeploymentConfig getFasterDeploymentConfig()
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
      Specified by:
      getFasterDeploymentConfig in interface DeployedModelOrBuilder
      Returns:
      The fasterDeploymentConfig.
    • setFasterDeploymentConfig

      public DeployedModel.Builder setFasterDeploymentConfig(FasterDeploymentConfig value)
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
    • setFasterDeploymentConfig

      public DeployedModel.Builder setFasterDeploymentConfig(FasterDeploymentConfig.Builder builderForValue)
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
    • mergeFasterDeploymentConfig

      public DeployedModel.Builder mergeFasterDeploymentConfig(FasterDeploymentConfig value)
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
    • clearFasterDeploymentConfig

      public DeployedModel.Builder clearFasterDeploymentConfig()
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
    • getFasterDeploymentConfigBuilder

      public FasterDeploymentConfig.Builder getFasterDeploymentConfigBuilder()
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
    • getFasterDeploymentConfigOrBuilder

      public FasterDeploymentConfigOrBuilder getFasterDeploymentConfigOrBuilder()
       Configuration for faster model deployment.
       
      .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23;
      Specified by:
      getFasterDeploymentConfigOrBuilder in interface DeployedModelOrBuilder
    • hasStatus

      public boolean hasStatus()
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStatus in interface DeployedModelOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public DeployedModel.Status getStatus()
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface DeployedModelOrBuilder
      Returns:
      The status.
    • setStatus

      public DeployedModel.Builder setStatus(DeployedModel.Status value)
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStatus

      public DeployedModel.Builder setStatus(DeployedModel.Status.Builder builderForValue)
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStatus

      public DeployedModel.Builder mergeStatus(DeployedModel.Status value)
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStatus

      public DeployedModel.Builder clearStatus()
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusBuilder

      public DeployedModel.Status.Builder getStatusBuilder()
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusOrBuilder

      public DeployedModel.StatusOrBuilder getStatusOrBuilder()
       Output only. Runtime status of the deployed model.
       
      .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusOrBuilder in interface DeployedModelOrBuilder
    • getSystemLabelsCount

      public int getSystemLabelsCount()
      Description copied from interface: DeployedModelOrBuilder
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
      Specified by:
      getSystemLabelsCount in interface DeployedModelOrBuilder
    • containsSystemLabels

      public boolean containsSystemLabels(String key)
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
      Specified by:
      containsSystemLabels in interface DeployedModelOrBuilder
    • getSystemLabels

      @Deprecated public Map<String,String> getSystemLabels()
      Deprecated.
      Specified by:
      getSystemLabels in interface DeployedModelOrBuilder
    • getSystemLabelsMap

      public Map<String,String> getSystemLabelsMap()
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
      Specified by:
      getSystemLabelsMap in interface DeployedModelOrBuilder
    • getSystemLabelsOrDefault

      public String getSystemLabelsOrDefault(String key, String defaultValue)
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
      Specified by:
      getSystemLabelsOrDefault in interface DeployedModelOrBuilder
    • getSystemLabelsOrThrow

      public String getSystemLabelsOrThrow(String key)
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
      Specified by:
      getSystemLabelsOrThrow in interface DeployedModelOrBuilder
    • clearSystemLabels

      public DeployedModel.Builder clearSystemLabels()
    • removeSystemLabels

      public DeployedModel.Builder removeSystemLabels(String key)
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
    • getMutableSystemLabels

      @Deprecated public Map<String,String> getMutableSystemLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSystemLabels

      public DeployedModel.Builder putSystemLabels(String key, String value)
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
    • putAllSystemLabels

      public DeployedModel.Builder putAllSystemLabels(Map<String,String> values)
       System labels to apply to Model Garden deployments.
       System labels are managed by Google for internal use only.
       
      map<string, string> system_labels = 28;
    • getCheckpointId

      public String getCheckpointId()
       The checkpoint id of the model.
       
      string checkpoint_id = 29;
      Specified by:
      getCheckpointId in interface DeployedModelOrBuilder
      Returns:
      The checkpointId.
    • getCheckpointIdBytes

      public com.google.protobuf.ByteString getCheckpointIdBytes()
       The checkpoint id of the model.
       
      string checkpoint_id = 29;
      Specified by:
      getCheckpointIdBytes in interface DeployedModelOrBuilder
      Returns:
      The bytes for checkpointId.
    • setCheckpointId

      public DeployedModel.Builder setCheckpointId(String value)
       The checkpoint id of the model.
       
      string checkpoint_id = 29;
      Parameters:
      value - The checkpointId to set.
      Returns:
      This builder for chaining.
    • clearCheckpointId

      public DeployedModel.Builder clearCheckpointId()
       The checkpoint id of the model.
       
      string checkpoint_id = 29;
      Returns:
      This builder for chaining.
    • setCheckpointIdBytes

      public DeployedModel.Builder setCheckpointIdBytes(com.google.protobuf.ByteString value)
       The checkpoint id of the model.
       
      string checkpoint_id = 29;
      Parameters:
      value - The bytes for checkpointId to set.
      Returns:
      This builder for chaining.
    • hasSpeculativeDecodingSpec

      public boolean hasSpeculativeDecodingSpec()
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSpeculativeDecodingSpec in interface DeployedModelOrBuilder
      Returns:
      Whether the speculativeDecodingSpec field is set.
    • getSpeculativeDecodingSpec

      public SpeculativeDecodingSpec getSpeculativeDecodingSpec()
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSpeculativeDecodingSpec in interface DeployedModelOrBuilder
      Returns:
      The speculativeDecodingSpec.
    • setSpeculativeDecodingSpec

      public DeployedModel.Builder setSpeculativeDecodingSpec(SpeculativeDecodingSpec value)
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
    • setSpeculativeDecodingSpec

      public DeployedModel.Builder setSpeculativeDecodingSpec(SpeculativeDecodingSpec.Builder builderForValue)
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSpeculativeDecodingSpec

      public DeployedModel.Builder mergeSpeculativeDecodingSpec(SpeculativeDecodingSpec value)
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
    • clearSpeculativeDecodingSpec

      public DeployedModel.Builder clearSpeculativeDecodingSpec()
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
    • getSpeculativeDecodingSpecBuilder

      public SpeculativeDecodingSpec.Builder getSpeculativeDecodingSpecBuilder()
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
    • getSpeculativeDecodingSpecOrBuilder

      public SpeculativeDecodingSpecOrBuilder getSpeculativeDecodingSpecOrBuilder()
       Optional. Spec for configuring speculative decoding.
       
      .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSpeculativeDecodingSpecOrBuilder in interface DeployedModelOrBuilder