Interface UndeployModelRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UndeployModelRequest, UndeployModelRequest.Builder

@Generated public interface UndeployModelRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If this field is provided, then the Endpoint's [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Deprecated.
    int
    If this field is provided, then the Endpoint's [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it.
    If this field is provided, then the Endpoint's [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it.
    int
    getTrafficSplitOrDefault(String key, int defaultValue)
    If this field is provided, then the Endpoint's [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it.
    int
    If this field is provided, then the Endpoint's [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be overwritten with it.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEndpoint

      String getEndpoint()
       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:
      The endpoint.
    • getEndpointBytes

      com.google.protobuf.ByteString getEndpointBytes()
       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:
      The bytes for endpoint.
    • getDeployedModelId

      String getDeployedModelId()
       Required. The ID of the DeployedModel to be undeployed from the Endpoint.
       
      string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The deployedModelId.
    • getDeployedModelIdBytes

      com.google.protobuf.ByteString getDeployedModelIdBytes()
       Required. The ID of the DeployedModel to be undeployed from the Endpoint.
       
      string deployed_model_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for deployedModelId.
    • getTrafficSplitCount

      int getTrafficSplitCount()
       If this field is provided, then the Endpoint's
       [traffic_split][google.cloud.aiplatform.v1.Endpoint.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;
    • containsTrafficSplit

      boolean containsTrafficSplit(String key)
       If this field is provided, then the Endpoint's
       [traffic_split][google.cloud.aiplatform.v1.Endpoint.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;
    • getTrafficSplit

      @Deprecated Map<String,Integer> getTrafficSplit()
      Deprecated.
    • getTrafficSplitMap

      Map<String,Integer> getTrafficSplitMap()
       If this field is provided, then the Endpoint's
       [traffic_split][google.cloud.aiplatform.v1.Endpoint.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

      int getTrafficSplitOrDefault(String key, int defaultValue)
       If this field is provided, then the Endpoint's
       [traffic_split][google.cloud.aiplatform.v1.Endpoint.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;
    • getTrafficSplitOrThrow

      int getTrafficSplitOrThrow(String key)
       If this field is provided, then the Endpoint's
       [traffic_split][google.cloud.aiplatform.v1.Endpoint.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;