Class AnalyzeCorpusMetadata.Builder (0.8.0)

public static final class AnalyzeCorpusMetadata.Builder extends GeneratedMessageV3.Builder<AnalyzeCorpusMetadata.Builder> implements AnalyzeCorpusMetadataOrBuilder

The metadata message for AnalyzeCorpus LRO.

Protobuf type google.cloud.visionai.v1.AnalyzeCorpusMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzeCorpusMetadata build()
Returns
Type Description
AnalyzeCorpusMetadata

buildPartial()

public AnalyzeCorpusMetadata buildPartial()
Returns
Type Description
AnalyzeCorpusMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public AnalyzeCorpusMetadata.Builder clearMetadata()

The metadata of the operation.

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

Returns
Type Description
AnalyzeCorpusMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AnalyzeCorpusMetadata getDefaultInstanceForType()
Returns
Type Description
AnalyzeCorpusMetadata

getDescriptorForType()

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

getMetadata()

public OperationMetadata getMetadata()

The metadata of the operation.

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

Returns
Type Description
OperationMetadata

The metadata.

getMetadataBuilder()

public OperationMetadata.Builder getMetadataBuilder()

The metadata of the operation.

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

Returns
Type Description
OperationMetadata.Builder

getMetadataOrBuilder()

public OperationMetadataOrBuilder getMetadataOrBuilder()

The metadata of the operation.

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

Returns
Type Description
OperationMetadataOrBuilder

hasMetadata()

public boolean hasMetadata()

The metadata of the operation.

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

Returns
Type Description
boolean

Whether the metadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeCorpusMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(OperationMetadata value)

public AnalyzeCorpusMetadata.Builder mergeMetadata(OperationMetadata value)

The metadata of the operation.

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

Parameter
Name Description
value OperationMetadata
Returns
Type Description
AnalyzeCorpusMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(OperationMetadata value)

public AnalyzeCorpusMetadata.Builder setMetadata(OperationMetadata value)

The metadata of the operation.

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

Parameter
Name Description
value OperationMetadata
Returns
Type Description
AnalyzeCorpusMetadata.Builder

setMetadata(OperationMetadata.Builder builderForValue)

public AnalyzeCorpusMetadata.Builder setMetadata(OperationMetadata.Builder builderForValue)

The metadata of the operation.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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