Class TableFieldSchema.FieldElementType.Builder (3.9.1)

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

Represents the type of a field element.

Protobuf type google.cloud.bigquery.storage.v1.TableFieldSchema.FieldElementType

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public TableFieldSchema.FieldElementType.Builder clearType()

Required. The type of a field element.

.google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TableFieldSchema.FieldElementType.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getType()

public TableFieldSchema.Type getType()

Required. The type of a field element.

.google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TableFieldSchema.Type

The type.

getTypeValue()

public int getTypeValue()

Required. The type of a field element.

.google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TableFieldSchema.FieldElementType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setType(TableFieldSchema.Type value)

public TableFieldSchema.FieldElementType.Builder setType(TableFieldSchema.Type value)

Required. The type of a field element.

.google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TableFieldSchema.Type

The type to set.

Returns
Type Description
TableFieldSchema.FieldElementType.Builder

This builder for chaining.

setTypeValue(int value)

public TableFieldSchema.FieldElementType.Builder setTypeValue(int value)

Required. The type of a field element.

.google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
TableFieldSchema.FieldElementType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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