Class PhysicalSchema.AvroSchema.Builder (1.89.0)

public static final class PhysicalSchema.AvroSchema.Builder extends GeneratedMessage.Builder<PhysicalSchema.AvroSchema.Builder> implements PhysicalSchema.AvroSchemaOrBuilder

Schema in Avro JSON format.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearText()

public PhysicalSchema.AvroSchema.Builder clearText()

JSON source of the Avro schema.

string text = 1;

Returns
Type Description
PhysicalSchema.AvroSchema.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getText()

public String getText()

JSON source of the Avro schema.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

JSON source of the Avro 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.AvroSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setText(String value)

public PhysicalSchema.AvroSchema.Builder setText(String value)

JSON source of the Avro schema.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
PhysicalSchema.AvroSchema.Builder

This builder for chaining.

setTextBytes(ByteString value)

public PhysicalSchema.AvroSchema.Builder setTextBytes(ByteString value)

JSON source of the Avro schema.

string text = 1;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
PhysicalSchema.AvroSchema.Builder

This builder for chaining.