Class PhysicalSchema.AvroSchema (1.25.0)

public static final class PhysicalSchema.AvroSchema extends GeneratedMessageV3 implements PhysicalSchema.AvroSchemaOrBuilder

Schema in Avro JSON format.

Protobuf type google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema

Static Fields

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PhysicalSchema.AvroSchema getDefaultInstance()
Returns
TypeDescription
PhysicalSchema.AvroSchema

getDescriptor()

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

newBuilder()

public static PhysicalSchema.AvroSchema.Builder newBuilder()
Returns
TypeDescription
PhysicalSchema.AvroSchema.Builder

newBuilder(PhysicalSchema.AvroSchema prototype)

public static PhysicalSchema.AvroSchema.Builder newBuilder(PhysicalSchema.AvroSchema prototype)
Parameter
NameDescription
prototypePhysicalSchema.AvroSchema
Returns
TypeDescription
PhysicalSchema.AvroSchema.Builder

parseDelimitedFrom(InputStream input)

public static PhysicalSchema.AvroSchema parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PhysicalSchema.AvroSchema
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PhysicalSchema.AvroSchema parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PhysicalSchema.AvroSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PhysicalSchema.AvroSchema parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PhysicalSchema.AvroSchema
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PhysicalSchema.AvroSchema parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PhysicalSchema.AvroSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PhysicalSchema.AvroSchema parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PhysicalSchema.AvroSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PhysicalSchema.AvroSchema> parser()
Returns
TypeDescription
Parser<AvroSchema>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PhysicalSchema.AvroSchema getDefaultInstanceForType()
Returns
TypeDescription
PhysicalSchema.AvroSchema

getParserForType()

public Parser<PhysicalSchema.AvroSchema> getParserForType()
Returns
TypeDescription
Parser<AvroSchema>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getText()

public String getText()

JSON source of the Avro schema.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

JSON source of the Avro schema.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.

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 PhysicalSchema.AvroSchema.Builder newBuilderForType()
Returns
TypeDescription
PhysicalSchema.AvroSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PhysicalSchema.AvroSchema.Builder toBuilder()
Returns
TypeDescription
PhysicalSchema.AvroSchema.Builder

writeTo(CodedOutputStream output)

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