Class ColumnSchema.FieldElementType.Builder (1.59.0)

public static final class ColumnSchema.FieldElementType.Builder extends GeneratedMessageV3.Builder<ColumnSchema.FieldElementType.Builder> implements ColumnSchema.FieldElementTypeOrBuilder

Represents the type of a field element.

Protobuf type google.cloud.datacatalog.v1.ColumnSchema.FieldElementType

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ColumnSchema.FieldElementType build()
Returns
Type Description
ColumnSchema.FieldElementType

buildPartial()

public ColumnSchema.FieldElementType buildPartial()
Returns
Type Description
ColumnSchema.FieldElementType

clear()

public ColumnSchema.FieldElementType.Builder clear()
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ColumnSchema.FieldElementType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnSchema.FieldElementType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

clearType()

public ColumnSchema.FieldElementType.Builder clearType()

Required. The type of a field element. See ColumnSchema.type.

string type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ColumnSchema.FieldElementType.Builder

This builder for chaining.

clone()

public ColumnSchema.FieldElementType.Builder clone()
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

getDefaultInstanceForType()

public ColumnSchema.FieldElementType getDefaultInstanceForType()
Returns
Type Description
ColumnSchema.FieldElementType

getDescriptorForType()

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

getType()

public String getType()

Required. The type of a field element. See ColumnSchema.type.

string type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Required. The type of a field element. See ColumnSchema.type.

string type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ColumnSchema.FieldElementType other)

public ColumnSchema.FieldElementType.Builder mergeFrom(ColumnSchema.FieldElementType other)
Parameter
Name Description
other ColumnSchema.FieldElementType
Returns
Type Description
ColumnSchema.FieldElementType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ColumnSchema.FieldElementType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnSchema.FieldElementType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ColumnSchema.FieldElementType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides

setType(String value)

public ColumnSchema.FieldElementType.Builder setType(String value)

Required. The type of a field element. See ColumnSchema.type.

string type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The type to set.

Returns
Type Description
ColumnSchema.FieldElementType.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public ColumnSchema.FieldElementType.Builder setTypeBytes(ByteString value)

Required. The type of a field element. See ColumnSchema.type.

string type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
ColumnSchema.FieldElementType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ColumnSchema.FieldElementType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ColumnSchema.FieldElementType.Builder
Overrides