Class CreateIndexMetadata.Builder (0.12.0)

public static final class CreateIndexMetadata.Builder extends GeneratedMessageV3.Builder<CreateIndexMetadata.Builder> implements CreateIndexMetadataOrBuilder

Metadata message for CreateIndexRequest

Protobuf type google.cloud.visionai.v1.CreateIndexMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateIndexMetadata build()
Returns
Type Description
CreateIndexMetadata

buildPartial()

public CreateIndexMetadata buildPartial()
Returns
Type Description
CreateIndexMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationMetadata()

public CreateIndexMetadata.Builder clearOperationMetadata()

Common metadata of the long-running operation.

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

Returns
Type Description
CreateIndexMetadata.Builder

clone()

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

getDefaultInstanceForType()

public CreateIndexMetadata getDefaultInstanceForType()
Returns
Type Description
CreateIndexMetadata

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(CreateIndexMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOperationMetadata(OperationMetadata value)

public CreateIndexMetadata.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
CreateIndexMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationMetadata(OperationMetadata value)

public CreateIndexMetadata.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
CreateIndexMetadata.Builder

setOperationMetadata(OperationMetadata.Builder builderForValue)

public CreateIndexMetadata.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
CreateIndexMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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