Class MutateDeployedIndexRequest.Builder (3.18.0)

public static final class MutateDeployedIndexRequest.Builder extends GeneratedMessageV3.Builder<MutateDeployedIndexRequest.Builder> implements MutateDeployedIndexRequestOrBuilder

Request message for IndexEndpointService.MutateDeployedIndex.

Protobuf type google.cloud.aiplatform.v1.MutateDeployedIndexRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MutateDeployedIndexRequest build()
Returns
TypeDescription
MutateDeployedIndexRequest

buildPartial()

public MutateDeployedIndexRequest buildPartial()
Returns
TypeDescription
MutateDeployedIndexRequest

clear()

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

clearDeployedIndex()

public MutateDeployedIndexRequest.Builder clearDeployedIndex()

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Returns
TypeDescription
MutateDeployedIndexRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIndexEndpoint()

public MutateDeployedIndexRequest.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
TypeDescription
MutateDeployedIndexRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MutateDeployedIndexRequest getDefaultInstanceForType()
Returns
TypeDescription
MutateDeployedIndexRequest

getDeployedIndex()

public DeployedIndex getDeployedIndex()

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Returns
TypeDescription
DeployedIndex

The deployedIndex.

getDeployedIndexBuilder()

public DeployedIndex.Builder getDeployedIndexBuilder()

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Returns
TypeDescription
DeployedIndex.Builder

getDeployedIndexOrBuilder()

public DeployedIndexOrBuilder getDeployedIndexOrBuilder()

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Returns
TypeDescription
DeployedIndexOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for indexEndpoint.

hasDeployedIndex()

public boolean hasDeployedIndex()

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Returns
TypeDescription
boolean

Whether the deployedIndex field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDeployedIndex(DeployedIndex value)

public MutateDeployedIndexRequest.Builder mergeDeployedIndex(DeployedIndex value)

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Parameter
NameDescription
valueDeployedIndex
Returns
TypeDescription
MutateDeployedIndexRequest.Builder

mergeFrom(MutateDeployedIndexRequest other)

public MutateDeployedIndexRequest.Builder mergeFrom(MutateDeployedIndexRequest other)
Parameter
NameDescription
otherMutateDeployedIndexRequest
Returns
TypeDescription
MutateDeployedIndexRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeployedIndex(DeployedIndex value)

public MutateDeployedIndexRequest.Builder setDeployedIndex(DeployedIndex value)

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Parameter
NameDescription
valueDeployedIndex
Returns
TypeDescription
MutateDeployedIndexRequest.Builder

setDeployedIndex(DeployedIndex.Builder builderForValue)

public MutateDeployedIndexRequest.Builder setDeployedIndex(DeployedIndex.Builder builderForValue)

Required. The DeployedIndex to be updated within the IndexEndpoint. Currently, the updatable fields are DeployedIndex and DeployedIndex

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

Parameter
NameDescription
builderForValueDeployedIndex.Builder
Returns
TypeDescription
MutateDeployedIndexRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndexEndpoint(String value)

public MutateDeployedIndexRequest.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
NameDescription
valueString

The indexEndpoint to set.

Returns
TypeDescription
MutateDeployedIndexRequest.Builder

This builder for chaining.

setIndexEndpointBytes(ByteString value)

public MutateDeployedIndexRequest.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
NameDescription
valueByteString

The bytes for indexEndpoint to set.

Returns
TypeDescription
MutateDeployedIndexRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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