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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TableFieldSchema.FieldElementType.BuilderImplements
TableFieldSchema.FieldElementTypeOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public TableFieldSchema.FieldElementType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
TableFieldSchema.FieldElementType.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TableFieldSchema.FieldElementType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
TableFieldSchema.FieldElementType.Builder |
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 |
getDefaultInstanceForType()
public TableFieldSchema.FieldElementType getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TableFieldSchema.FieldElementType |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableFieldSchema.FieldElementType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TableFieldSchema.FieldElementType.Builder |
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 |
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 |
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 |