public final class MutateDeployedModelRequest extends GeneratedMessageV3 implements MutateDeployedModelRequestOrBuilder
Request message for
EndpointService.MutateDeployedModel.
Protobuf type google.cloud.aiplatform.v1.MutateDeployedModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int DEPLOYED_MODEL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ENDPOINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static MutateDeployedModelRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MutateDeployedModelRequest.Builder newBuilder()
public static MutateDeployedModelRequest.Builder newBuilder(MutateDeployedModelRequest prototype)
public static MutateDeployedModelRequest parseDelimitedFrom(InputStream input)
public static MutateDeployedModelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MutateDeployedModelRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static MutateDeployedModelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MutateDeployedModelRequest parseFrom(ByteString data)
public static MutateDeployedModelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MutateDeployedModelRequest parseFrom(CodedInputStream input)
public static MutateDeployedModelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MutateDeployedModelRequest parseFrom(InputStream input)
public static MutateDeployedModelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MutateDeployedModelRequest parseFrom(ByteBuffer data)
public static MutateDeployedModelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MutateDeployedModelRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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.v1.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.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED];
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 Parser<MutateDeployedModelRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 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.v1.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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MutateDeployedModelRequest.Builder newBuilderForType()
protected MutateDeployedModelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public MutateDeployedModelRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides