Class UpdateIndexEndpointRequest.Builder (0.3.0)

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

Request message for UpdateIndexEndpoint.

Protobuf type google.cloud.visionai.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 resource being updated.

.google.cloud.visionai.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. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

.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 resource being updated.

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

Returns
Type Description
IndexEndpoint

The indexEndpoint.

getIndexEndpointBuilder()

public IndexEndpoint.Builder getIndexEndpointBuilder()

Required. The resource being updated.

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

Returns
Type Description
IndexEndpoint.Builder

getIndexEndpointOrBuilder()

public IndexEndpointOrBuilder getIndexEndpointOrBuilder()

Required. The resource being updated.

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

Returns
Type Description
IndexEndpointOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

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

Returns
Type Description
FieldMaskOrBuilder

hasIndexEndpoint()

public boolean hasIndexEndpoint()

Required. The resource being updated.

.google.cloud.visionai.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. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

.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 resource being updated.

.google.cloud.visionai.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. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

.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 resource being updated.

.google.cloud.visionai.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 resource being updated.

.google.cloud.visionai.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. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

.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. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateIndexEndpointRequest.Builder