Class 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 type google.cloud.aiplatform.v1.DeployedModel
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public DeployedModel.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
      • setField

        public DeployedModel.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
      • clearField

        public DeployedModel.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
      • clearOneof

        public DeployedModel.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
      • addRepeatedField

        public DeployedModel.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                      Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 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
      • 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;
      • 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;
      • 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()
         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 interface DeployedModelOrBuilder
        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 interface DeployedModelOrBuilder
        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 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
      • 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
      • setUnknownFields

        public final DeployedModel.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>
      • mergeUnknownFields

        public final DeployedModel.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeployedModel.Builder>