Class UndeployIndexRequest.Builder (3.34.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.34.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  UndeployIndexRequest . Builder   extends   GeneratedMessageV3 . Builder<UndeployIndexRequest . Builder >  implements   UndeployIndexRequestOrBuilder  
   Request message for
 IndexEndpointService.UndeployIndex .
 Protobuf type google.cloud.aiplatform.v1.UndeployIndexRequest
    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
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   UndeployIndexRequest . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   UndeployIndexRequest   build ()  
  
  
    
public   UndeployIndexRequest   buildPartial ()  
  
  
    
public   UndeployIndexRequest . Builder   clear ()  
  
  Overrides 
  
  
    
public   UndeployIndexRequest . Builder   clearDeployedIndexId ()  
   Required. The ID of the DeployedIndex to be undeployed from the
 IndexEndpoint.
 string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
public   UndeployIndexRequest . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   UndeployIndexRequest . Builder   clearIndexEndpoint ()  
   Required. The name of the IndexEndpoint resource from which to undeploy an
 Index. Format:
 projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
 
 string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
public   UndeployIndexRequest . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   UndeployIndexRequest . Builder   clone ()  
  
  Overrides 
  
  
    
public   UndeployIndexRequest   getDefaultInstanceForType ()  
  
  
    
public   String   getDeployedIndexId ()  
   Required. The ID of the DeployedIndex to be undeployed from the
 IndexEndpoint.
 string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The deployedIndexId.
 
     
  
  
    
public   ByteString   getDeployedIndexIdBytes ()  
   Required. The ID of the DeployedIndex to be undeployed from the
 IndexEndpoint.
 string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for deployedIndexId.
 
     
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   String   getIndexEndpoint ()  
   Required. The name of the IndexEndpoint resource from which to undeploy an
 Index. Format:
 projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
 
 string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The indexEndpoint.
 
     
  
  
    
public   ByteString   getIndexEndpointBytes ()  
   Required. The name of the IndexEndpoint resource from which to undeploy an
 Index. Format:
 projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
 
 string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for indexEndpoint.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   UndeployIndexRequest . Builder   mergeFrom ( UndeployIndexRequest   other )  
  
  
  
    
public   UndeployIndexRequest . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   UndeployIndexRequest . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   UndeployIndexRequest . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   UndeployIndexRequest . Builder   setDeployedIndexId ( String   value )  
   Required. The ID of the DeployedIndex to be undeployed from the
 IndexEndpoint.
 string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueString The deployedIndexId to set.
 
     
  
  
  
    
public   UndeployIndexRequest . Builder   setDeployedIndexIdBytes ( ByteString   value )  
   Required. The ID of the DeployedIndex to be undeployed from the
 IndexEndpoint.
 string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for deployedIndexId to set.
 
     
  
  
  
    
public   UndeployIndexRequest . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   UndeployIndexRequest . Builder   setIndexEndpoint ( String   value )  
   Required. The name of the IndexEndpoint resource from which to undeploy an
 Index. Format:
 projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
 
 string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        valueString The indexEndpoint to set.
 
     
  
  
  
    
public   UndeployIndexRequest . Builder   setIndexEndpointBytes ( ByteString   value )  
   Required. The name of the IndexEndpoint resource from which to undeploy an
 Index. Format:
 projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
 
 string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for indexEndpoint to set.
 
     
  
  
  
    
public   UndeployIndexRequest . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   final   UndeployIndexRequest . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]