Class UpdateIndexEndpointRequest.Builder (3.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateIndexEndpointRequest build()
Returns
TypeDescription
UpdateIndexEndpointRequest

buildPartial()

public UpdateIndexEndpointRequest buildPartial()
Returns
TypeDescription
UpdateIndexEndpointRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateIndexEndpointRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateIndexEndpointRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateIndexEndpointRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateIndexEndpointRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateIndexEndpointRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateIndexEndpointRequest

getDescriptorForType()

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateIndexEndpointRequest other)

public UpdateIndexEndpointRequest.Builder mergeFrom(UpdateIndexEndpointRequest other)
Parameter
NameDescription
otherUpdateIndexEndpointRequest
Returns
TypeDescription
UpdateIndexEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateIndexEndpointRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIndexEndpoint
Returns
TypeDescription
UpdateIndexEndpointRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateIndexEndpointRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateIndexEndpointRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateIndexEndpointRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIndexEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueIndexEndpoint.Builder
Returns
TypeDescription
UpdateIndexEndpointRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateIndexEndpointRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateIndexEndpointRequest.Builder