Class PropertyMetadata.Builder (2.51.0)

public static final class PropertyMetadata.Builder extends GeneratedMessageV3.Builder<PropertyMetadata.Builder> implements PropertyMetadataOrBuilder

Metadata about a property.

Protobuf type google.cloud.documentai.v1beta3.PropertyMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PropertyMetadata build()
Returns
Type Description
PropertyMetadata

buildPartial()

public PropertyMetadata buildPartial()
Returns
Type Description
PropertyMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldExtractionMetadata()

public PropertyMetadata.Builder clearFieldExtractionMetadata()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
Type Description
PropertyMetadata.Builder

clearInactive()

public PropertyMetadata.Builder clearInactive()

Whether the property should be considered as "inactive".

bool inactive = 3;

Returns
Type Description
PropertyMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PropertyMetadata getDefaultInstanceForType()
Returns
Type Description
PropertyMetadata

getDescriptorForType()

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

getFieldExtractionMetadata()

public FieldExtractionMetadata getFieldExtractionMetadata()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
Type Description
FieldExtractionMetadata

The fieldExtractionMetadata.

getFieldExtractionMetadataBuilder()

public FieldExtractionMetadata.Builder getFieldExtractionMetadataBuilder()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
Type Description
FieldExtractionMetadata.Builder

getFieldExtractionMetadataOrBuilder()

public FieldExtractionMetadataOrBuilder getFieldExtractionMetadataOrBuilder()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
Type Description
FieldExtractionMetadataOrBuilder

getInactive()

public boolean getInactive()

Whether the property should be considered as "inactive".

bool inactive = 3;

Returns
Type Description
boolean

The inactive.

hasFieldExtractionMetadata()

public boolean hasFieldExtractionMetadata()

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Returns
Type Description
boolean

Whether the fieldExtractionMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFieldExtractionMetadata(FieldExtractionMetadata value)

public PropertyMetadata.Builder mergeFieldExtractionMetadata(FieldExtractionMetadata value)

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Parameter
Name Description
value FieldExtractionMetadata
Returns
Type Description
PropertyMetadata.Builder

mergeFrom(PropertyMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldExtractionMetadata(FieldExtractionMetadata value)

public PropertyMetadata.Builder setFieldExtractionMetadata(FieldExtractionMetadata value)

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Parameter
Name Description
value FieldExtractionMetadata
Returns
Type Description
PropertyMetadata.Builder

setFieldExtractionMetadata(FieldExtractionMetadata.Builder builderForValue)

public PropertyMetadata.Builder setFieldExtractionMetadata(FieldExtractionMetadata.Builder builderForValue)

Field extraction metadata on the property.

.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;

Parameter
Name Description
builderForValue FieldExtractionMetadata.Builder
Returns
Type Description
PropertyMetadata.Builder

setInactive(boolean value)

public PropertyMetadata.Builder setInactive(boolean value)

Whether the property should be considered as "inactive".

bool inactive = 3;

Parameter
Name Description
value boolean

The inactive to set.

Returns
Type Description
PropertyMetadata.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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