Class DeployIndexRequest.Builder (3.84.0)

public static final class DeployIndexRequest.Builder extends GeneratedMessage.Builder<DeployIndexRequest.Builder> implements DeployIndexRequestOrBuilder

Request message for IndexEndpointService.DeployIndex.

Protobuf type google.cloud.aiplatform.v1.DeployIndexRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeployIndexRequest build()
Returns
Type Description
DeployIndexRequest

buildPartial()

public DeployIndexRequest buildPartial()
Returns
Type Description
DeployIndexRequest

clear()

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

clearDeployedIndex()

public DeployIndexRequest.Builder clearDeployedIndex()

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployIndexRequest.Builder

clearIndexEndpoint()

public DeployIndexRequest.Builder clearIndexEndpoint()

Required. The name of the IndexEndpoint resource into which to deploy 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
DeployIndexRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeployIndexRequest getDefaultInstanceForType()
Returns
Type Description
DeployIndexRequest

getDeployedIndex()

public DeployedIndex getDeployedIndex()

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedIndex

The deployedIndex.

getDeployedIndexBuilder()

public DeployedIndex.Builder getDeployedIndexBuilder()

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedIndex.Builder

getDeployedIndexOrBuilder()

public DeployedIndexOrBuilder getDeployedIndexOrBuilder()

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeployedIndexOrBuilder

getDescriptorForType()

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

getIndexEndpoint()

public String getIndexEndpoint()

Required. The name of the IndexEndpoint resource into which to deploy 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.

getIndexEndpointBytes()

public ByteString getIndexEndpointBytes()

Required. The name of the IndexEndpoint resource into which to deploy 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.

hasDeployedIndex()

public boolean hasDeployedIndex()

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deployedIndex field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeployedIndex(DeployedIndex value)

public DeployIndexRequest.Builder mergeDeployedIndex(DeployedIndex value)

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DeployedIndex
Returns
Type Description
DeployIndexRequest.Builder

mergeFrom(DeployIndexRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDeployedIndex(DeployedIndex value)

public DeployIndexRequest.Builder setDeployedIndex(DeployedIndex value)

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DeployedIndex
Returns
Type Description
DeployIndexRequest.Builder

setDeployedIndex(DeployedIndex.Builder builderForValue)

public DeployIndexRequest.Builder setDeployedIndex(DeployedIndex.Builder builderForValue)

Required. The DeployedIndex to be created within the IndexEndpoint.

.google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DeployedIndex.Builder
Returns
Type Description
DeployIndexRequest.Builder

setIndexEndpoint(String value)

public DeployIndexRequest.Builder setIndexEndpoint(String value)

Required. The name of the IndexEndpoint resource into which to deploy 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
value String

The indexEndpoint to set.

Returns
Type Description
DeployIndexRequest.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public DeployIndexRequest.Builder setIndexEndpointBytes(ByteString value)

Required. The name of the IndexEndpoint resource into which to deploy 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
value ByteString

The bytes for indexEndpoint to set.

Returns
Type Description
DeployIndexRequest.Builder

This builder for chaining.