Class PhysicalSchema.AvroSchema.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearText()

public PhysicalSchema.AvroSchema.Builder clearText()

JSON source of the Avro schema.

string text = 1;

Returns
TypeDescription
PhysicalSchema.AvroSchema.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getText()

public String getText()

JSON source of the Avro schema.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setText(String value)

public PhysicalSchema.AvroSchema.Builder setText(String value)

JSON source of the Avro schema.

string text = 1;

Parameter
NameDescription
valueString

The text to set.

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

The bytes for text to set.

Returns
TypeDescription
PhysicalSchema.AvroSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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