public static final class MutateDeployedModelRequest.Builder extends GeneratedMessageV3.Builder<MutateDeployedModelRequest.Builder> implements MutateDeployedModelRequestOrBuilder
Request message for
EndpointService.MutateDeployedModel.
Protobuf type google.cloud.aiplatform.v1beta1.MutateDeployedModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public MutateDeployedModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MutateDeployedModelRequest build()
public MutateDeployedModelRequest buildPartial()
public MutateDeployedModelRequest.Builder clear()
Overrides
public MutateDeployedModelRequest.Builder clearDeployedModel()
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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder clearEndpoint()
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) = { ... }
public MutateDeployedModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public MutateDeployedModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MutateDeployedModelRequest.Builder clearUpdateMask()
Required. The update mask applies to the resource. See
google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder clone()
Overrides
public MutateDeployedModelRequest getDefaultInstanceForType()
public 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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public DeployedModel.Builder getDeployedModelBuilder()
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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public 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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public Descriptors.Descriptor getDescriptorForType()
Overrides
public 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 |
String | The endpoint.
|
public 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 |
ByteString | The bytes for endpoint.
|
public 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 |
FieldMask | The updateMask.
|
public FieldMask.Builder getUpdateMaskBuilder()
Required. The update mask applies to the resource. See
google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public 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];
public 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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the deployedModel field is set.
|
public 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 |
boolean | Whether the updateMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MutateDeployedModelRequest.Builder mergeDeployedModel(DeployedModel value)
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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder mergeFrom(MutateDeployedModelRequest other)
public MutateDeployedModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MutateDeployedModelRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final MutateDeployedModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MutateDeployedModelRequest.Builder mergeUpdateMask(FieldMask value)
Required. The update mask applies to the resource. See
google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder setDeployedModel(DeployedModel value)
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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder setDeployedModel(DeployedModel.Builder builderForValue)
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
- autoscaling_metric_specs
disable_container_logging
(v1 only)
enable_container_logging
(v1beta1 only)
.google.cloud.aiplatform.v1beta1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder setEndpoint(String value)
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) = { ... }
Parameter |
---|
Name | Description |
value | String
The endpoint to set.
|
public MutateDeployedModelRequest.Builder setEndpointBytes(ByteString value)
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) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for endpoint to set.
|
public MutateDeployedModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MutateDeployedModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final MutateDeployedModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MutateDeployedModelRequest.Builder setUpdateMask(FieldMask value)
Required. The update mask applies to the resource. See
google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
public MutateDeployedModelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The update mask applies to the resource. See
google.protobuf.FieldMask.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|