Class PhysicalSchema.ProtobufSchema.Builder (1.9.0)

public static final class PhysicalSchema.ProtobufSchema.Builder extends GeneratedMessageV3.Builder<PhysicalSchema.ProtobufSchema.Builder> implements PhysicalSchema.ProtobufSchemaOrBuilder

Schema in protocol buffer format.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearText()

public PhysicalSchema.ProtobufSchema.Builder clearText()

Protocol buffer source of the schema.

string text = 1;

Returns
TypeDescription
PhysicalSchema.ProtobufSchema.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getText()

public String getText()

Protocol buffer source of the schema.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public ByteString getTextBytes()

Protocol buffer 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.ProtobufSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PhysicalSchema.ProtobufSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PhysicalSchema.ProtobufSchema.Builder
Overrides

setText(String value)

public PhysicalSchema.ProtobufSchema.Builder setText(String value)

Protocol buffer source of the schema.

string text = 1;

Parameter
NameDescription
valueString

The text to set.

Returns
TypeDescription
PhysicalSchema.ProtobufSchema.Builder

This builder for chaining.

setTextBytes(ByteString value)

public PhysicalSchema.ProtobufSchema.Builder setTextBytes(ByteString value)

Protocol buffer source of the schema.

string text = 1;

Parameter
NameDescription
valueByteString

The bytes for text to set.

Returns
TypeDescription
PhysicalSchema.ProtobufSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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