# Interface MutateDeployedModelRequestOrBuilder (1.48.0)

1.48.0 (latest) 1.47.0 1.45.0 1.43.0 1.42.0 1.40.0 1.38.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.30.0 1.28.0 1.27.0 1.24.0 1.23.0 1.22.0 1.20.1 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.8.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface MutateDeployedModelRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDeployedModel()

    public abstract DeployedModel getDeployedModel()

Required. The DeployedModel to be mutated within the Endpoint. Only the
following fields can be mutated:

- `min_replica_count` in either DedicatedResources or AutomaticResources
- `max_replica_count` in either DedicatedResources or AutomaticResources
- `required_replica_count` in DedicatedResources
- autoscaling_metric_specs
- `disable_container_logging` (v1 only)
- `enable_container_logging` (v1beta1 only)

`
.google.cloud.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api.DeployedModel` | The deployedModel. |

### getDeployedModelOrBuilder()

    public abstract DeployedModelOrBuilder getDeployedModelOrBuilder()

Required. The DeployedModel to be mutated within the Endpoint. Only the
following fields can be mutated:

- `min_replica_count` in either DedicatedResources or AutomaticResources
- `max_replica_count` in either DedicatedResources or AutomaticResources
- `required_replica_count` in DedicatedResources
- autoscaling_metric_specs
- `disable_container_logging` (v1 only)
- `enable_container_logging` (v1beta1 only)

`
.google.cloud.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.api.DeployedModelOrBuilder` |   |

### getEndpoint()

    public abstract String getEndpoint()

Required. The name of the Endpoint resource into which to mutate a
DeployedModel. Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`

`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The endpoint. |

### getEndpointBytes()

    public abstract ByteString getEndpointBytes()

Required. The name of the Endpoint resource into which to mutate a
DeployedModel. Format:
`projects/{project}/locations/{location}/endpoints/{endpoint}`

`
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for endpoint. |

### getUpdateMask()

    public abstract FieldMask getUpdateMask()

Required. The update mask applies to the resource. See
google.protobuf.FieldMask.

`.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` | The updateMask. |

### getUpdateMaskOrBuilder()

    public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. See
google.protobuf.FieldMask.

`.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMaskOrBuilder.html` |   |

### hasDeployedModel()

    public abstract boolean hasDeployedModel()

Required. The DeployedModel to be mutated within the Endpoint. Only the
following fields can be mutated:

- `min_replica_count` in either DedicatedResources or AutomaticResources
- `max_replica_count` in either DedicatedResources or AutomaticResources
- `required_replica_count` in DedicatedResources
- autoscaling_metric_specs
- `disable_container_logging` (v1 only)
- `enable_container_logging` (v1beta1 only)

`
.google.cloud.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the deployedModel field is set. |

### hasUpdateMask()

    public abstract boolean hasUpdateMask()

Required. The update mask applies to the resource. See
google.protobuf.FieldMask.

`.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the updateMask field is set. |