Send feedback
Class ImportedDataInfo.FieldSchema.Builder (2.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.21.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 ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo . FieldSchema . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ImportedDataInfo . FieldSchema build ()
buildPartial()
public ImportedDataInfo . FieldSchema buildPartial ()
clear()
public ImportedDataInfo . FieldSchema . Builder clear ()
Overrides
clearDescription()
public ImportedDataInfo . FieldSchema . Builder clearDescription ()
Description for this field.
string description = 4;
clearField(Descriptors.FieldDescriptor field)
public ImportedDataInfo . FieldSchema . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearFieldName()
public ImportedDataInfo . FieldSchema . Builder clearFieldName ()
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
clearIsRepeated()
public ImportedDataInfo . FieldSchema . Builder clearIsRepeated ()
Is field repeated.
bool is_repeated = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportedDataInfo . FieldSchema . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSchema()
public ImportedDataInfo . FieldSchema . Builder clearSchema ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
clearType()
public ImportedDataInfo . FieldSchema . Builder clearType ()
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
clone()
public ImportedDataInfo . FieldSchema . Builder clone ()
Overrides
getDefaultInstanceForType()
public ImportedDataInfo . FieldSchema getDefaultInstanceForType ()
getDescription()
public String getDescription ()
Description for this field.
string description = 4;
getDescriptionBytes()
public ByteString getDescriptionBytes ()
Description for this field.
string description = 4;
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getFieldName()
public String getFieldName ()
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
getFieldNameBytes()
public ByteString getFieldNameBytes ()
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
getIsRepeated()
public boolean getIsRepeated ()
Is field repeated.
bool is_repeated = 3;
getSchema()
public ImportedDataInfo . RecordSchema getSchema ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
getSchemaBuilder()
public ImportedDataInfo . RecordSchema . Builder getSchemaBuilder ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
getSchemaOrBuilder()
public ImportedDataInfo . RecordSchemaOrBuilder getSchemaOrBuilder ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
getType()
public ImportedDataInfo . FieldSchema . Type getType ()
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
getTypeValue()
public int getTypeValue ()
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Returns Type Description int
hasSchema()
public boolean hasSchema ()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ImportedDataInfo.FieldSchema other)
public ImportedDataInfo . FieldSchema . Builder mergeFrom ( ImportedDataInfo . FieldSchema other )
public ImportedDataInfo . FieldSchema . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ImportedDataInfo . FieldSchema . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo . FieldSchema . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDescription(String value)
public ImportedDataInfo . FieldSchema . Builder setDescription ( String value )
Description for this field.
string description = 4;
Parameter Name Description value
String
setDescriptionBytes(ByteString value)
public ImportedDataInfo . FieldSchema . Builder setDescriptionBytes ( ByteString value )
Description for this field.
string description = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo . FieldSchema . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setFieldName(String value)
public ImportedDataInfo . FieldSchema . Builder setFieldName ( String value )
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
Parameter Name Description value
String
setFieldNameBytes(ByteString value)
public ImportedDataInfo . FieldSchema . Builder setFieldNameBytes ( ByteString value )
Field name. Matches: A-Za-z_ {0,127}
string field_name = 1;
setIsRepeated(boolean value)
public ImportedDataInfo . FieldSchema . Builder setIsRepeated ( boolean value )
Is field repeated.
bool is_repeated = 3;
Parameter Name Description value
boolean
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportedDataInfo . FieldSchema . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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;
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;
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;
setTypeValue(int value)
public ImportedDataInfo . FieldSchema . Builder setTypeValue ( int value )
Field type
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema.Type type = 2;
Parameter Name Description value
int
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo . FieldSchema . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-27 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-27 UTC."],[],[]]