Class UpdateIndexMetadata.Builder (0.6.0)

public static final class UpdateIndexMetadata.Builder extends GeneratedMessageV3.Builder<UpdateIndexMetadata.Builder> implements UpdateIndexMetadataOrBuilder

Metadata message for UpdateIndexRequest

Protobuf type google.cloud.visionai.v1.UpdateIndexMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateIndexMetadata build()
Returns
Type Description
UpdateIndexMetadata

buildPartial()

public UpdateIndexMetadata buildPartial()
Returns
Type Description
UpdateIndexMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationMetadata()

public UpdateIndexMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
UpdateIndexMetadata.Builder

clone()

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

getDefaultInstanceForType()

public UpdateIndexMetadata getDefaultInstanceForType()
Returns
Type Description
UpdateIndexMetadata

getDescriptorForType()

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

getOperationMetadata()

public OperationMetadata getOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadata

The operationMetadata.

getOperationMetadataBuilder()

public OperationMetadata.Builder getOperationMetadataBuilder()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadata.Builder

getOperationMetadataOrBuilder()

public OperationMetadataOrBuilder getOperationMetadataOrBuilder()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
OperationMetadataOrBuilder

hasOperationMetadata()

public boolean hasOperationMetadata()

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Returns
Type Description
boolean

Whether the operationMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateIndexMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

public UpdateIndexMetadata.Builder mergeOperationMetadata(OperationMetadata value)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
value OperationMetadata
Returns
Type Description
UpdateIndexMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationMetadata(OperationMetadata value)

public UpdateIndexMetadata.Builder setOperationMetadata(OperationMetadata value)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
value OperationMetadata
Returns
Type Description
UpdateIndexMetadata.Builder

setOperationMetadata(OperationMetadata.Builder builderForValue)

public UpdateIndexMetadata.Builder setOperationMetadata(OperationMetadata.Builder builderForValue)

Common metadata of the long-running operation.

.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;

Parameter
Name Description
builderForValue OperationMetadata.Builder
Returns
Type Description
UpdateIndexMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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