publicstaticfinalclass UndeployModelRequest.BuilderextendsGeneratedMessageV3.Builder<UndeployModelRequest.Builder>implementsUndeployModelRequestOrBuilder
Request message for
EndpointService.UndeployModel.
Protobuf type google.cloud.vertexai.v1.UndeployModelRequest
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicUndeployModelRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicUndeployModelRequestbuild()
buildPartial()
publicUndeployModelRequestbuildPartial()
clear()
publicUndeployModelRequest.Builderclear()
Overrides
clearDeployedModelId()
publicUndeployModelRequest.BuilderclearDeployedModelId()
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearEndpoint()
publicUndeployModelRequest.BuilderclearEndpoint()
Required. The name of the Endpoint resource from which to undeploy a Model.
Format:
projects/{project}/locations/{location}/endpoints/{endpoint}
string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
publicUndeployModelRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicUndeployModelRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearTrafficSplit()
publicUndeployModelRequest.BuilderclearTrafficSplit()
clone()
publicUndeployModelRequest.Builderclone()
Overrides
containsTrafficSplit(String key)
publicbooleancontainsTrafficSplit(Stringkey)
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
publicUndeployModelRequestgetDefaultInstanceForType()
getDeployedModelId()
publicStringgetDeployedModelId()
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The deployedModelId.
|
getDeployedModelIdBytes()
publicByteStringgetDeployedModelIdBytes()
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for deployedModelId.
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getEndpoint()
publicStringgetEndpoint()
Required. The name of the Endpoint resource from which to undeploy a Model.
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()
publicByteStringgetEndpointBytes()
Required. The name of the Endpoint resource from which to undeploy a Model.
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.
|
getMutableTrafficSplit() (deprecated)
publicMap<String,Integer>getMutableTrafficSplit()
Use alternate mutation accessors instead.
getTrafficSplit() (deprecated)
publicMap<String,Integer>getTrafficSplit()
getTrafficSplitCount()
publicintgetTrafficSplitCount()
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
| Returns |
| Type |
Description |
int |
getTrafficSplitMap()
publicMap<String,Integer>getTrafficSplitMap()
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
getTrafficSplitOrDefault(String key, int defaultValue)
publicintgetTrafficSplitOrDefault(Stringkey,intdefaultValue)
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
| Parameters |
| Name |
Description |
key |
String
|
defaultValue |
int
|
| Returns |
| Type |
Description |
int |
getTrafficSplitOrThrow(String key)
publicintgetTrafficSplitOrThrow(Stringkey)
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
int |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
Overrides
internalGetMutableMapField(int number)
protectedMapFieldinternalGetMutableMapField(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(UndeployModelRequest other)
publicUndeployModelRequest.BuildermergeFrom(UndeployModelRequestother)
publicUndeployModelRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicUndeployModelRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalUndeployModelRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
putAllTrafficSplit(Map<String,Integer> values)
publicUndeployModelRequest.BuilderputAllTrafficSplit(Map<String,Integer>values)
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
putTrafficSplit(String key, int value)
publicUndeployModelRequest.BuilderputTrafficSplit(Stringkey,intvalue)
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
| Parameters |
| Name |
Description |
key |
String
|
value |
int
|
removeTrafficSplit(String key)
publicUndeployModelRequest.BuilderremoveTrafficSplit(Stringkey)
If this field is provided, then the Endpoint's
traffic_split will be
overwritten with it. If last DeployedModel is being undeployed from the
Endpoint, the [Endpoint.traffic_split] will always end up empty when this
call returns. A DeployedModel will be successfully undeployed only if it
doesn't have any traffic assigned to it when this method executes, or if
this field unassigns any traffic to it.
map<string, int32> traffic_split = 3;
| Parameter |
| Name |
Description |
key |
String
|
setDeployedModelId(String value)
publicUndeployModelRequest.BuildersetDeployedModelId(Stringvalue)
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The deployedModelId to set.
|
setDeployedModelIdBytes(ByteString value)
publicUndeployModelRequest.BuildersetDeployedModelIdBytes(ByteStringvalue)
Required. The ID of the DeployedModel to be undeployed from the Endpoint.
string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for deployedModelId to set.
|
setEndpoint(String value)
publicUndeployModelRequest.BuildersetEndpoint(Stringvalue)
Required. The name of the Endpoint resource from which to undeploy a Model.
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)
publicUndeployModelRequest.BuildersetEndpointBytes(ByteStringvalue)
Required. The name of the Endpoint resource from which to undeploy a Model.
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)
publicUndeployModelRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicUndeployModelRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalUndeployModelRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides