Class UpdateIndexEndpointRequest.Builder (3.56.0)

public static final class UpdateIndexEndpointRequest.Builder extends GeneratedMessageV3.Builder<UpdateIndexEndpointRequest.Builder> implements UpdateIndexEndpointRequestOrBuilder

Request message for IndexEndpointService.UpdateIndexEndpoint.

Protobuf type google.cloud.aiplatform.v1.UpdateIndexEndpointRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateIndexEndpointRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

build()

public UpdateIndexEndpointRequest build()
Returns
Type Description
UpdateIndexEndpointRequest

buildPartial()

public UpdateIndexEndpointRequest buildPartial()
Returns
Type Description
UpdateIndexEndpointRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

clearIndexEndpoint()

public UpdateIndexEndpointRequest.Builder clearIndexEndpoint()

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateIndexEndpointRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

clearUpdateMask()

public UpdateIndexEndpointRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateIndexEndpointRequest.Builder

clone()

public UpdateIndexEndpointRequest.Builder clone()
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateIndexEndpointRequest getDefaultInstanceForType()
Returns
Type Description
UpdateIndexEndpointRequest

getDescriptorForType()

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

getIndexEndpoint()

public IndexEndpoint getIndexEndpoint()

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IndexEndpoint

The indexEndpoint.

getIndexEndpointBuilder()

public IndexEndpoint.Builder getIndexEndpointBuilder()

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IndexEndpoint.Builder

getIndexEndpointOrBuilder()

public IndexEndpointOrBuilder getIndexEndpointOrBuilder()

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IndexEndpointOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasIndexEndpoint()

public boolean hasIndexEndpoint()

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the indexEndpoint field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateIndexEndpointRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIndexEndpoint(IndexEndpoint value)

public UpdateIndexEndpointRequest.Builder mergeIndexEndpoint(IndexEndpoint value)

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IndexEndpoint
Returns
Type Description
UpdateIndexEndpointRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateIndexEndpointRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateIndexEndpointRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateIndexEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

setIndexEndpoint(IndexEndpoint value)

public UpdateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint value)

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IndexEndpoint
Returns
Type Description
UpdateIndexEndpointRequest.Builder

setIndexEndpoint(IndexEndpoint.Builder builderForValue)

public UpdateIndexEndpointRequest.Builder setIndexEndpoint(IndexEndpoint.Builder builderForValue)

Required. The IndexEndpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue IndexEndpoint.Builder
Returns
Type Description
UpdateIndexEndpointRequest.Builder

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

public UpdateIndexEndpointRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateIndexEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateIndexEndpointRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateIndexEndpointRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateIndexEndpointRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateIndexEndpointRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateIndexEndpointRequest.Builder