Class TextExtractionDatasetMetadata (2.3.1)

public final class TextExtractionDatasetMetadata extends GeneratedMessageV3 implements TextExtractionDatasetMetadataOrBuilder

Dataset metadata that is specific to text extraction

Protobuf type google.cloud.automl.v1beta1.TextExtractionDatasetMetadata

Static Methods

getDefaultInstance()

public static TextExtractionDatasetMetadata getDefaultInstance()
Returns
TypeDescription
TextExtractionDatasetMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(TextExtractionDatasetMetadata prototype)

public static TextExtractionDatasetMetadata.Builder newBuilder(TextExtractionDatasetMetadata prototype)
Parameter
NameDescription
prototypeTextExtractionDatasetMetadata
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TextExtractionDatasetMetadata getDefaultInstanceForType()
Returns
TypeDescription
TextExtractionDatasetMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 TextExtractionDatasetMetadata.Builder newBuilderForType()
Returns
TypeDescription
TextExtractionDatasetMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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