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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PhysicalSchema.AvroSchema.BuilderImplements
PhysicalSchema.AvroSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PhysicalSchema.AvroSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
build()
public PhysicalSchema.AvroSchema build()
Type | Description |
PhysicalSchema.AvroSchema |
buildPartial()
public PhysicalSchema.AvroSchema buildPartial()
Type | Description |
PhysicalSchema.AvroSchema |
clear()
public PhysicalSchema.AvroSchema.Builder clear()
Type | Description |
PhysicalSchema.AvroSchema.Builder |
clearField(Descriptors.FieldDescriptor field)
public PhysicalSchema.AvroSchema.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PhysicalSchema.AvroSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
clearText()
public PhysicalSchema.AvroSchema.Builder clearText()
JSON source of the Avro schema.
string text = 1;
Type | Description |
PhysicalSchema.AvroSchema.Builder | This builder for chaining. |
clone()
public PhysicalSchema.AvroSchema.Builder clone()
Type | Description |
PhysicalSchema.AvroSchema.Builder |
getDefaultInstanceForType()
public PhysicalSchema.AvroSchema getDefaultInstanceForType()
Type | Description |
PhysicalSchema.AvroSchema |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getText()
public String getText()
JSON source of the Avro schema.
string text = 1;
Type | Description |
String | The text. |
getTextBytes()
public ByteString getTextBytes()
JSON source of the Avro schema.
string text = 1;
Type | Description |
ByteString | The bytes for text. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PhysicalSchema.AvroSchema other)
public PhysicalSchema.AvroSchema.Builder mergeFrom(PhysicalSchema.AvroSchema other)
Name | Description |
other | PhysicalSchema.AvroSchema |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PhysicalSchema.AvroSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PhysicalSchema.AvroSchema.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PhysicalSchema.AvroSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PhysicalSchema.AvroSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PhysicalSchema.AvroSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PhysicalSchema.AvroSchema.Builder |
setText(String value)
public PhysicalSchema.AvroSchema.Builder setText(String value)
JSON source of the Avro schema.
string text = 1;
Name | Description |
value | String The text to set. |
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;
Name | Description |
value | ByteString The bytes for text to set. |
Type | Description |
PhysicalSchema.AvroSchema.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PhysicalSchema.AvroSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PhysicalSchema.AvroSchema.Builder |