public static final class ImportedDataInfo.FieldSchema extends GeneratedMessageV3 implements ImportedDataInfo.FieldSchemaOrBuilder
Defines schema of a field in the imported data.
Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FIELD_NAME_FIELD_NUMBER
public static final int FIELD_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IS_REPEATED_FIELD_NUMBER
public static final int IS_REPEATED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportedDataInfo.FieldSchema getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportedDataInfo.FieldSchema.Builder newBuilder()
newBuilder(ImportedDataInfo.FieldSchema prototype)
public static ImportedDataInfo.FieldSchema.Builder newBuilder(ImportedDataInfo.FieldSchema prototype)
public static ImportedDataInfo.FieldSchema parseDelimitedFrom(InputStream input)
public static ImportedDataInfo.FieldSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportedDataInfo.FieldSchema parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.FieldSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportedDataInfo.FieldSchema parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.FieldSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.FieldSchema parseFrom(CodedInputStream input)
public static ImportedDataInfo.FieldSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.FieldSchema parseFrom(InputStream input)
public static ImportedDataInfo.FieldSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportedDataInfo.FieldSchema parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportedDataInfo.FieldSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportedDataInfo.FieldSchema> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
getParserForType()
public Parser<ImportedDataInfo.FieldSchema> getParserForType()
Overrides
getSchema()
public ImportedDataInfo.RecordSchema getSchema()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasSchema()
public boolean hasSchema()
Present iff type == RECORD.
.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema schema = 5;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportedDataInfo.FieldSchema.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportedDataInfo.FieldSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
toBuilder()
public ImportedDataInfo.FieldSchema.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides