Class EntityTypeMetadata.Builder (2.87.0)

public static final class EntityTypeMetadata.Builder extends GeneratedMessage.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
Type Description
Descriptor

Methods

build()

public EntityTypeMetadata build()
Returns
Type Description
EntityTypeMetadata

buildPartial()

public EntityTypeMetadata buildPartial()
Returns
Type Description
EntityTypeMetadata

clear()

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

clearInactive()

public EntityTypeMetadata.Builder clearInactive()

Whether the entity type should be considered inactive.

bool inactive = 5;

Returns
Type Description
EntityTypeMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public EntityTypeMetadata getDefaultInstanceForType()
Returns
Type Description
EntityTypeMetadata

getDescriptorForType()

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

getInactive()

public boolean getInactive()

Whether the entity type should be considered inactive.

bool inactive = 5;

Returns
Type Description
boolean

The inactive.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityTypeMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setInactive(boolean value)

public EntityTypeMetadata.Builder setInactive(boolean value)

Whether the entity type should be considered inactive.

bool inactive = 5;

Parameter
Name Description
value boolean

The inactive to set.

Returns
Type Description
EntityTypeMetadata.Builder

This builder for chaining.