Class UndeployIndexRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UndeployIndexRequest.Builder>
com.google.cloud.aiplatform.v1.UndeployIndexRequest.Builder
All Implemented Interfaces:
UndeployIndexRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UndeployIndexRequest

public static final class UndeployIndexRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UndeployIndexRequest.Builder> implements UndeployIndexRequestOrBuilder
 Request message for
 [IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex].
 
Protobuf type google.cloud.aiplatform.v1.UndeployIndexRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UndeployIndexRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UndeployIndexRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UndeployIndexRequest.Builder>
    • getDefaultInstanceForType

      public UndeployIndexRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UndeployIndexRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UndeployIndexRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UndeployIndexRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UndeployIndexRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UndeployIndexRequest.Builder>
    • mergeFrom

      public UndeployIndexRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UndeployIndexRequest.Builder>
      Throws:
      IOException
    • getIndexEndpoint

      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) = { ... }
      Specified by:
      getIndexEndpoint in interface UndeployIndexRequestOrBuilder
      Returns:
      The indexEndpoint.
    • getIndexEndpointBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getIndexEndpointBytes in interface UndeployIndexRequestOrBuilder
      Returns:
      The bytes for indexEndpoint.
    • setIndexEndpoint

      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) = { ... }
      Parameters:
      value - The indexEndpoint to set.
      Returns:
      This builder for chaining.
    • clearIndexEndpoint

      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) = { ... }
      Returns:
      This builder for chaining.
    • setIndexEndpointBytes

      public UndeployIndexRequest.Builder setIndexEndpointBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for indexEndpoint to set.
      Returns:
      This builder for chaining.
    • getDeployedIndexId

      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];
      Specified by:
      getDeployedIndexId in interface UndeployIndexRequestOrBuilder
      Returns:
      The deployedIndexId.
    • getDeployedIndexIdBytes

      public com.google.protobuf.ByteString getDeployedIndexIdBytes()
       Required. The ID of the DeployedIndex to be undeployed from the
       IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDeployedIndexIdBytes in interface UndeployIndexRequestOrBuilder
      Returns:
      The bytes for deployedIndexId.
    • setDeployedIndexId

      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];
      Parameters:
      value - The deployedIndexId to set.
      Returns:
      This builder for chaining.
    • clearDeployedIndexId

      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];
      Returns:
      This builder for chaining.
    • setDeployedIndexIdBytes

      public UndeployIndexRequest.Builder setDeployedIndexIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the DeployedIndex to be undeployed from the
       IndexEndpoint.
       
      string deployed_index_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for deployedIndexId to set.
      Returns:
      This builder for chaining.