public static final class MutateDeployedModelRequest.Builder extends GeneratedMessageV3.Builder<MutateDeployedModelRequest.Builder> implements MutateDeployedModelRequestOrBuilder
Request message for
EndpointService.MutateDeployedModel.
Protobuf type google.cloud.vertexai.v1.MutateDeployedModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MutateDeployedModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MutateDeployedModelRequest build()
buildPartial()
public MutateDeployedModelRequest buildPartial()
clear()
public MutateDeployedModelRequest.Builder clear()
Overrides
clearDeployedModel()
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
clearEndpoint()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public MutateDeployedModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MutateDeployedModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
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];
clone()
public MutateDeployedModelRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public MutateDeployedModelRequest getDefaultInstanceForType()
getDeployedModel()
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
getDeployedModelBuilder()
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
getDeployedModelOrBuilder()
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndpoint()
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.
|
getEndpointBytes()
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.
|
getUpdateMask()
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.
|
getUpdateMaskBuilder()
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];
getUpdateMaskOrBuilder()
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];
hasDeployedModel()
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the deployedModel field is set.
|
hasUpdateMask()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDeployedModel(DeployedModel value)
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(MutateDeployedModelRequest other)
public MutateDeployedModelRequest.Builder mergeFrom(MutateDeployedModelRequest other)
public MutateDeployedModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MutateDeployedModelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MutateDeployedModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
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];
setDeployedModel(DeployedModel value)
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
setDeployedModel(DeployedModel.Builder builderForValue)
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.vertexai.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
setEndpoint(String value)
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.
|
setEndpointBytes(ByteString value)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public MutateDeployedModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MutateDeployedModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MutateDeployedModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
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];
setUpdateMask(FieldMask.Builder builderForValue)
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
|