Class EntityTypeMetadata.Builder (2.37.0)

public static final class EntityTypeMetadata.Builder extends GeneratedMessageV3.Builder<EntityTypeMetadata.Builder> implements EntityTypeMetadataOrBuilder

Metadata about an entity type.

Protobuf type google.cloud.documentai.v1beta3.EntityTypeMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityTypeMetadata build()
Returns
TypeDescription
EntityTypeMetadata

buildPartial()

public EntityTypeMetadata buildPartial()
Returns
TypeDescription
EntityTypeMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInactive()

public EntityTypeMetadata.Builder clearInactive()

Whether the entity type should be considered inactive.

bool inactive = 5;

Returns
TypeDescription
EntityTypeMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EntityTypeMetadata getDefaultInstanceForType()
Returns
TypeDescription
EntityTypeMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInactive()

public boolean getInactive()

Whether the entity type should be considered inactive.

bool inactive = 5;

Returns
TypeDescription
boolean

The inactive.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityTypeMetadata other)

public EntityTypeMetadata.Builder mergeFrom(EntityTypeMetadata other)
Parameter
NameDescription
otherEntityTypeMetadata
Returns
TypeDescription
EntityTypeMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInactive(boolean value)

public EntityTypeMetadata.Builder setInactive(boolean value)

Whether the entity type should be considered inactive.

bool inactive = 5;

Parameter
NameDescription
valueboolean

The inactive to set.

Returns
TypeDescription
EntityTypeMetadata.Builder

This builder for chaining.

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

public EntityTypeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EntityTypeMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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