Class TableFieldSchema.FieldElementType.Builder (3.20.0)

public static final class TableFieldSchema.FieldElementType.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.