Class PhysicalSchema.ThriftSchema.Builder (1.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PhysicalSchema.ThriftSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

build()

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

buildPartial()

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

clear()

public PhysicalSchema.ThriftSchema.Builder clear()
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PhysicalSchema.ThriftSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PhysicalSchema.ThriftSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

clearText()

public PhysicalSchema.ThriftSchema.Builder clearText()

Thrift IDL source of the schema.

string text = 1;

Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder

This builder for chaining.

clone()

public PhysicalSchema.ThriftSchema.Builder clone()
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PhysicalSchema.ThriftSchema other)

public PhysicalSchema.ThriftSchema.Builder mergeFrom(PhysicalSchema.ThriftSchema other)
Parameter
NameDescription
otherPhysicalSchema.ThriftSchema
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PhysicalSchema.ThriftSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PhysicalSchema.ThriftSchema.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PhysicalSchema.ThriftSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PhysicalSchema.ThriftSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides

setText(String value)

public PhysicalSchema.ThriftSchema.Builder setText(String value)

Thrift IDL source of the schema.

string text = 1;

Parameter
NameDescription
valueString

The text to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for text to set.

Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PhysicalSchema.ThriftSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PhysicalSchema.ThriftSchema.Builder
Overrides