Class PhysicalSchema.ThriftSchema.Builder (1.49.0)

public static final class PhysicalSchema.ThriftSchema.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PhysicalSchema.ThriftSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public PhysicalSchema.ThriftSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PhysicalSchema.ThriftSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PhysicalSchema.ThriftSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PhysicalSchema.ThriftSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PhysicalSchema.ThriftSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final PhysicalSchema.ThriftSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PhysicalSchema.ThriftSchema.Builder
Overrides