Class EntityTypeMetadata (2.43.0)

public final class EntityTypeMetadata extends GeneratedMessageV3 implements EntityTypeMetadataOrBuilder

Metadata about an entity type.

Protobuf type google.cloud.documentai.v1beta3.EntityTypeMetadata

Static Fields

INACTIVE_FIELD_NUMBER

public static final int INACTIVE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EntityTypeMetadata getDefaultInstance()
Returns
TypeDescription
EntityTypeMetadata

getDescriptor()

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

newBuilder()

public static EntityTypeMetadata.Builder newBuilder()
Returns
TypeDescription
EntityTypeMetadata.Builder

newBuilder(EntityTypeMetadata prototype)

public static EntityTypeMetadata.Builder newBuilder(EntityTypeMetadata prototype)
Parameter
NameDescription
prototypeEntityTypeMetadata
Returns
TypeDescription
EntityTypeMetadata.Builder

parseDelimitedFrom(InputStream input)

public static EntityTypeMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EntityTypeMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EntityTypeMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EntityTypeMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EntityTypeMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EntityTypeMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EntityTypeMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EntityTypeMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EntityTypeMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EntityTypeMetadata> parser()
Returns
TypeDescription
Parser<EntityTypeMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EntityTypeMetadata getDefaultInstanceForType()
Returns
TypeDescription
EntityTypeMetadata

getInactive()

public boolean getInactive()

Whether the entity type should be considered inactive.

bool inactive = 5;

Returns
TypeDescription
boolean

The inactive.

getParserForType()

public Parser<EntityTypeMetadata> getParserForType()
Returns
TypeDescription
Parser<EntityTypeMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EntityTypeMetadata.Builder newBuilderForType()
Returns
TypeDescription
EntityTypeMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EntityTypeMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EntityTypeMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EntityTypeMetadata.Builder toBuilder()
Returns
TypeDescription
EntityTypeMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException