Class EntityTypeMetadata.Builder (2.49.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EntityTypeMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntityTypeMetadata.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public EntityTypeMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public EntityTypeMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntityTypeMetadata.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntityTypeMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityTypeMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EntityTypeMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public EntityTypeMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EntityTypeMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EntityTypeMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntityTypeMetadata.Builder
Overrides