Class PropertyMetadata.Builder (2.87.0)

public static final class PropertyMetadata.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.