Class ColumnSchema.FieldElementType.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ColumnSchema.FieldElementType build()
Returns
TypeDescription
ColumnSchema.FieldElementType

buildPartial()

public ColumnSchema.FieldElementType buildPartial()
Returns
TypeDescription
ColumnSchema.FieldElementType

clear()

public ColumnSchema.FieldElementType.Builder clear()
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ColumnSchema.FieldElementType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnSchema.FieldElementType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ColumnSchema.FieldElementType.Builder

This builder for chaining.

clone()

public ColumnSchema.FieldElementType.Builder clone()
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides

getDefaultInstanceForType()

public ColumnSchema.FieldElementType getDefaultInstanceForType()
Returns
TypeDescription
ColumnSchema.FieldElementType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ColumnSchema.FieldElementType other)

public ColumnSchema.FieldElementType.Builder mergeFrom(ColumnSchema.FieldElementType other)
Parameter
NameDescription
otherColumnSchema.FieldElementType
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ColumnSchema.FieldElementType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnSchema.FieldElementType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The type to set.

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

The bytes for type to set.

Returns
TypeDescription
ColumnSchema.FieldElementType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ColumnSchema.FieldElementType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ColumnSchema.FieldElementType.Builder
Overrides