Class UndeployIndexRequest.Builder (2.9.8)

public static final class UndeployIndexRequest.Builder extends GeneratedMessageV3.Builder<UndeployIndexRequest.Builder> implements UndeployIndexRequestOrBuilder

Request message for IndexEndpointService.UndeployIndex.

Protobuf type google.cloud.aiplatform.v1beta1.UndeployIndexRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UndeployIndexRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

build()

public UndeployIndexRequest build()
Returns
TypeDescription
UndeployIndexRequest

buildPartial()

public UndeployIndexRequest buildPartial()
Returns
TypeDescription
UndeployIndexRequest

clear()

public UndeployIndexRequest.Builder clear()
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

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
TypeDescription
UndeployIndexRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UndeployIndexRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

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
TypeDescription
UndeployIndexRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UndeployIndexRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

clone()

public UndeployIndexRequest.Builder clone()
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

getDefaultInstanceForType()

public UndeployIndexRequest getDefaultInstanceForType()
Returns
TypeDescription
UndeployIndexRequest

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];

Returns
TypeDescription
String

The deployedIndexId.

getDeployedIndexIdBytes()

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
TypeDescription
ByteString

The bytes for deployedIndexId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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) = { ... }

Returns
TypeDescription
String

The indexEndpoint.

getIndexEndpointBytes()

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
TypeDescription
ByteString

The bytes for indexEndpoint.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UndeployIndexRequest other)

public UndeployIndexRequest.Builder mergeFrom(UndeployIndexRequest other)
Parameter
NameDescription
otherUndeployIndexRequest
Returns
TypeDescription
UndeployIndexRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UndeployIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UndeployIndexRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UndeployIndexRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

setDeployedIndexId(String value)

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
NameDescription
valueString

The deployedIndexId to set.

Returns
TypeDescription
UndeployIndexRequest.Builder

This builder for chaining.

setDeployedIndexIdBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for deployedIndexId to set.

Returns
TypeDescription
UndeployIndexRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UndeployIndexRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

setIndexEndpoint(String value)

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
NameDescription
valueString

The indexEndpoint to set.

Returns
TypeDescription
UndeployIndexRequest.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for indexEndpoint to set.

Returns
TypeDescription
UndeployIndexRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UndeployIndexRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UndeployIndexRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UndeployIndexRequest.Builder
Overrides