Class PropertyMetadata.Builder (2.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertyMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

build()

public PropertyMetadata build()
Returns
TypeDescription
PropertyMetadata

buildPartial()

public PropertyMetadata buildPartial()
Returns
TypeDescription
PropertyMetadata

clear()

public PropertyMetadata.Builder clear()
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PropertyMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

clearInactive()

public PropertyMetadata.Builder clearInactive()

Whether the property should be considered as "inactive".

bool inactive = 3;

Returns
TypeDescription
PropertyMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

clone()

public PropertyMetadata.Builder clone()
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

getDefaultInstanceForType()

public PropertyMetadata getDefaultInstanceForType()
Returns
TypeDescription
PropertyMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInactive()

public boolean getInactive()

Whether the property should be considered as "inactive".

bool inactive = 3;

Returns
TypeDescription
boolean

The inactive.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertyMetadata other)

public PropertyMetadata.Builder mergeFrom(PropertyMetadata other)
Parameter
NameDescription
otherPropertyMetadata
Returns
TypeDescription
PropertyMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertyMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PropertyMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertyMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PropertyMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

setInactive(boolean value)

public PropertyMetadata.Builder setInactive(boolean value)

Whether the property should be considered as "inactive".

bool inactive = 3;

Parameter
NameDescription
valueboolean

The inactive to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertyMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertyMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PropertyMetadata.Builder
Overrides