Class PhysicalSchema.ThriftSchema (1.37.0)

public static final class PhysicalSchema.ThriftSchema extends GeneratedMessageV3 implements PhysicalSchema.ThriftSchemaOrBuilder

Schema in Thrift format.

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

Static Fields

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(PhysicalSchema.ThriftSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getText()

public String getText()

Thrift IDL source of the schema.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

Thrift IDL source of the 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.ThriftSchema.Builder newBuilderForType()
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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