Class UndeployIndexRequest.Builder (0.40.0)

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

Request message for UndeployIndexEndpoint.

Protobuf type google.cloud.visionai.v1.UndeployIndexRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UndeployIndexRequest build()
Returns
Type Description
UndeployIndexRequest

buildPartial()

public UndeployIndexRequest buildPartial()
Returns
Type Description
UndeployIndexRequest

clear()

public UndeployIndexRequest.Builder clear()
Returns
Type Description
UndeployIndexRequest.Builder
Overrides

clearIndexEndpoint()

public UndeployIndexRequest.Builder clearIndexEndpoint()

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
UndeployIndexRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public UndeployIndexRequest getDefaultInstanceForType()
Returns
Type Description
UndeployIndexRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIndexEndpoint()

public String getIndexEndpoint()

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. 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.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. 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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UndeployIndexRequest other)

public UndeployIndexRequest.Builder mergeFrom(UndeployIndexRequest other)
Parameter
Name Description
other UndeployIndexRequest
Returns
Type Description
UndeployIndexRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UndeployIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UndeployIndexRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UndeployIndexRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UndeployIndexRequest.Builder
Overrides

setIndexEndpoint(String value)

public UndeployIndexRequest.Builder setIndexEndpoint(String value)

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The indexEndpoint to set.

Returns
Type Description
UndeployIndexRequest.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public UndeployIndexRequest.Builder setIndexEndpointBytes(ByteString value)

Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
UndeployIndexRequest.Builder

This builder for chaining.