Class PhysicalSchema.AvroSchema.Builder (1.51.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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