Class PhysicalSchema.ProtobufSchema (1.41.0)

public static final class PhysicalSchema.ProtobufSchema extends GeneratedMessageV3 implements PhysicalSchema.ProtobufSchemaOrBuilder

Schema in protocol buffer format.

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

Static Fields

TEXT_FIELD_NUMBER

public static final int TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(PhysicalSchema.ProtobufSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getText()

public String getText()

Protocol buffer source of the schema.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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