Send feedback
Class ImportedDataInfo.FieldSchema.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.11.0 keyboard_arrow_down
public static final class ImportedDataInfo . FieldSchema . Builder extends GeneratedMessageV3 . Builder<ImportedDataInfo . FieldSchema . Builder > implements ImportedDataInfo . FieldSchemaOrBuilder
Defines schema of a field in the imported data.
Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo . FieldSchema . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ImportedDataInfo . FieldSchema build ()
Returns
buildPartial()
public ImportedDataInfo . FieldSchema buildPartial ()
Returns
clear()
public ImportedDataInfo . FieldSchema . Builder clear ()
Returns
Overrides
clearDescription()
public ImportedDataInfo . FieldSchema . Builder clearDescription ()
Description for this field.
string description = 4;
Returns
clearField(Descriptors.FieldDescriptor field)
public ImportedDataInfo . FieldSchema . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearFieldName()
public ImportedDataInfo . FieldSchema . Builder clearFieldName ()
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
Returns
clearIsRepeated()
public ImportedDataInfo . FieldSchema . Builder clearIsRepeated ()
Is field repeated.
bool is_repeated = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportedDataInfo . FieldSchema . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSchema()
public ImportedDataInfo . FieldSchema . Builder clearSchema ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Returns
clearType()
public ImportedDataInfo . FieldSchema . Builder clearType ()
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Returns
clone()
public ImportedDataInfo . FieldSchema . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ImportedDataInfo . FieldSchema getDefaultInstanceForType ()
Returns
getDescription()
public String getDescription ()
Description for this field.
string description = 4;
Returns
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Description for this field.
string description = 4;
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getFieldName()
public String getFieldName ()
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
Returns
getFieldNameBytes()
public ByteString getFieldNameBytes ()
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
Returns
getIsRepeated()
public boolean getIsRepeated ()
Is field repeated.
bool is_repeated = 3;
Returns
getSchema()
public ImportedDataInfo . RecordSchema getSchema ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Returns
getSchemaBuilder()
public ImportedDataInfo . RecordSchema . Builder getSchemaBuilder ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Returns
getSchemaOrBuilder()
public ImportedDataInfo . RecordSchemaOrBuilder getSchemaOrBuilder ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Returns
getType()
public ImportedDataInfo . FieldSchema . Type getType ()
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Returns
getTypeValue()
public int getTypeValue ()
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Returns
hasSchema()
public boolean hasSchema ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ImportedDataInfo.FieldSchema other)
public ImportedDataInfo . FieldSchema . Builder mergeFrom ( ImportedDataInfo . FieldSchema other )
Parameter
Returns
public ImportedDataInfo . FieldSchema . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportedDataInfo . FieldSchema . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeSchema(ImportedDataInfo.RecordSchema value)
public ImportedDataInfo . FieldSchema . Builder mergeSchema ( ImportedDataInfo . RecordSchema value )
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo . FieldSchema . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDescription(String value)
public ImportedDataInfo . FieldSchema . Builder setDescription ( String value )
Description for this field.
string description = 4;
Parameter
Returns
setDescriptionBytes(ByteString value)
public ImportedDataInfo . FieldSchema . Builder setDescriptionBytes ( ByteString value )
Description for this field.
string description = 4;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo . FieldSchema . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setFieldName(String value)
public ImportedDataInfo . FieldSchema . Builder setFieldName ( String value )
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
Parameter
Returns
setFieldNameBytes(ByteString value)
public ImportedDataInfo . FieldSchema . Builder setFieldNameBytes ( ByteString value )
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
Parameter
Returns
setIsRepeated(boolean value)
public ImportedDataInfo . FieldSchema . Builder setIsRepeated ( boolean value )
Is field repeated.
bool is_repeated = 3;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportedDataInfo . FieldSchema . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSchema(ImportedDataInfo.RecordSchema value)
public ImportedDataInfo . FieldSchema . Builder setSchema ( ImportedDataInfo . RecordSchema value )
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Parameter
Returns
setSchema(ImportedDataInfo.RecordSchema.Builder builderForValue)
public ImportedDataInfo . FieldSchema . Builder setSchema ( ImportedDataInfo . RecordSchema . Builder builderForValue )
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
Parameter
Returns
setType(ImportedDataInfo.FieldSchema.Type value)
public ImportedDataInfo . FieldSchema . Builder setType ( ImportedDataInfo . FieldSchema . Type value )
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Parameter
Returns
setTypeValue(int value)
public ImportedDataInfo . FieldSchema . Builder setTypeValue ( int value )
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo . FieldSchema . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]