Class TableFieldSchema.FieldElementType.Builder (3.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TableFieldSchema.FieldElementType other)

public TableFieldSchema.FieldElementType.Builder mergeFrom(TableFieldSchema.FieldElementType other)
Parameter
NameDescription
otherTableFieldSchema.FieldElementType
Returns
TypeDescription
TableFieldSchema.FieldElementType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The type to set.

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

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

Returns
TypeDescription
TableFieldSchema.FieldElementType.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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