public static final class PropertyMetadata.Builder extends GeneratedMessageV3.Builder<PropertyMetadata.Builder> implements PropertyMetadataOrBuilder
Metadata about a property.
Protobuf type google.cloud.documentai.v1beta3.PropertyMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public PropertyMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PropertyMetadata build()
public PropertyMetadata buildPartial()
public PropertyMetadata.Builder clear()
Overrides
public PropertyMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PropertyMetadata.Builder clearFieldExtractionMetadata()
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
public PropertyMetadata.Builder clearInactive()
Whether the property should be considered as "inactive".
bool inactive = 3;
public PropertyMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PropertyMetadata.Builder clone()
Overrides
public PropertyMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FieldExtractionMetadata getFieldExtractionMetadata()
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
public FieldExtractionMetadata.Builder getFieldExtractionMetadataBuilder()
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
public FieldExtractionMetadataOrBuilder getFieldExtractionMetadataOrBuilder()
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
public boolean getInactive()
Whether the property should be considered as "inactive".
bool inactive = 3;
Returns |
---|
Type | Description |
boolean | The inactive.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PropertyMetadata.Builder mergeFieldExtractionMetadata(FieldExtractionMetadata value)
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
public PropertyMetadata.Builder mergeFrom(PropertyMetadata other)
public PropertyMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PropertyMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final PropertyMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PropertyMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PropertyMetadata.Builder setFieldExtractionMetadata(FieldExtractionMetadata value)
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
public PropertyMetadata.Builder setFieldExtractionMetadata(FieldExtractionMetadata.Builder builderForValue)
Field extraction metadata on the property.
.google.cloud.documentai.v1beta3.FieldExtractionMetadata field_extraction_metadata = 9;
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.
|
public PropertyMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final PropertyMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides