Class 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.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
    implements UndeployIndexRequestOrBuilder
     Request message for
     [IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex].
     
    Protobuf type google.cloud.aiplatform.v1.UndeployIndexRequest
    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public UndeployIndexRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • setField

        public UndeployIndexRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • clearField

        public UndeployIndexRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • clearOneof

        public UndeployIndexRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • setRepeatedField

        public UndeployIndexRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • addRepeatedField

        public UndeployIndexRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

        public final UndeployIndexRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>
      • mergeUnknownFields

        public final UndeployIndexRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UndeployIndexRequest.Builder>