Class PhysicalSchema.ProtobufSchema.Builder (1.59.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PhysicalSchema.ProtobufSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PhysicalSchema.ProtobufSchema.Builder
Overrides

clearText()

public PhysicalSchema.ProtobufSchema.Builder clearText()

Protocol buffer source of the schema.

string text = 1;

Returns
Type Description
PhysicalSchema.ProtobufSchema.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getText()

public String getText()

Protocol buffer source of the schema.

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public PhysicalSchema.ProtobufSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PhysicalSchema.ProtobufSchema.Builder
Overrides

setText(String value)

public PhysicalSchema.ProtobufSchema.Builder setText(String value)

Protocol buffer source of the schema.

string text = 1;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
PhysicalSchema.ProtobufSchema.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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