Class ImportedDataInfo.RecordSchema (2.49.0)

public static final class ImportedDataInfo.RecordSchema extends GeneratedMessageV3 implements ImportedDataInfo.RecordSchemaOrBuilder

Describes schema of the data to be ingested.

Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema

Static Fields

FIELDS_FIELD_NUMBER

public static final int FIELDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportedDataInfo.RecordSchema getDefaultInstance()
Returns
Type Description
ImportedDataInfo.RecordSchema

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportedDataInfo.RecordSchema.Builder newBuilder()
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

newBuilder(ImportedDataInfo.RecordSchema prototype)

public static ImportedDataInfo.RecordSchema.Builder newBuilder(ImportedDataInfo.RecordSchema prototype)
Parameter
Name Description
prototype ImportedDataInfo.RecordSchema
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

parseDelimitedFrom(InputStream input)

public static ImportedDataInfo.RecordSchema parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportedDataInfo.RecordSchema parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportedDataInfo.RecordSchema parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportedDataInfo.RecordSchema parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportedDataInfo.RecordSchema parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportedDataInfo.RecordSchema parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportedDataInfo.RecordSchema> parser()
Returns
Type Description
Parser<RecordSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImportedDataInfo.RecordSchema getDefaultInstanceForType()
Returns
Type Description
ImportedDataInfo.RecordSchema

getFields(int index)

public ImportedDataInfo.FieldSchema getFields(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportedDataInfo.FieldSchema

getFieldsCount()

public int getFieldsCount()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
Type Description
int

getFieldsList()

public List<ImportedDataInfo.FieldSchema> getFieldsList()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
Type Description
List<FieldSchema>

getFieldsOrBuilder(int index)

public ImportedDataInfo.FieldSchemaOrBuilder getFieldsOrBuilder(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportedDataInfo.FieldSchemaOrBuilder

getFieldsOrBuilderList()

public List<? extends ImportedDataInfo.FieldSchemaOrBuilder> getFieldsOrBuilderList()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchemaOrBuilder>

getParserForType()

public Parser<ImportedDataInfo.RecordSchema> getParserForType()
Returns
Type Description
Parser<RecordSchema>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportedDataInfo.RecordSchema.Builder newBuilderForType()
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportedDataInfo.RecordSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

toBuilder()

public ImportedDataInfo.RecordSchema.Builder toBuilder()
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException