Class PhysicalSchema.ThriftSchema.Builder (1.89.0)

public static final class PhysicalSchema.ThriftSchema.Builder extends GeneratedMessage.Builder<PhysicalSchema.ThriftSchema.Builder> implements PhysicalSchema.ThriftSchemaOrBuilder

Schema in Thrift format.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PhysicalSchema.ThriftSchema build()
Returns
Type Description
PhysicalSchema.ThriftSchema

buildPartial()

public PhysicalSchema.ThriftSchema buildPartial()
Returns
Type Description
PhysicalSchema.ThriftSchema

clear()

public PhysicalSchema.ThriftSchema.Builder clear()
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides

clearText()

public PhysicalSchema.ThriftSchema.Builder clearText()

Thrift IDL source of the schema.

string text = 1;

Returns
Type Description
PhysicalSchema.ThriftSchema.Builder

This builder for chaining.

getDefaultInstanceForType()

public PhysicalSchema.ThriftSchema getDefaultInstanceForType()
Returns
Type Description
PhysicalSchema.ThriftSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getText()

public String getText()

Thrift IDL source of the schema.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Thrift IDL source of the schema.

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PhysicalSchema.ThriftSchema other)

public PhysicalSchema.ThriftSchema.Builder mergeFrom(PhysicalSchema.ThriftSchema other)
Parameter
Name Description
other PhysicalSchema.ThriftSchema
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PhysicalSchema.ThriftSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PhysicalSchema.ThriftSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides

setText(String value)

public PhysicalSchema.ThriftSchema.Builder setText(String value)

Thrift IDL source of the schema.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
PhysicalSchema.ThriftSchema.Builder

This builder for chaining.

setTextBytes(ByteString value)

public PhysicalSchema.ThriftSchema.Builder setTextBytes(ByteString value)

Thrift IDL source of the schema.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
PhysicalSchema.ThriftSchema.Builder

This builder for chaining.