Class ImportedDataInfo.RecordSchema (2.35.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportedDataInfo.RecordSchema getDefaultInstance()
Returns
TypeDescription
ImportedDataInfo.RecordSchema

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportedDataInfo.RecordSchema.Builder newBuilder()
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder

newBuilder(ImportedDataInfo.RecordSchema prototype)

public static ImportedDataInfo.RecordSchema.Builder newBuilder(ImportedDataInfo.RecordSchema prototype)
Parameter
NameDescription
prototypeImportedDataInfo.RecordSchema
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder

parseDelimitedFrom(InputStream input)

public static ImportedDataInfo.RecordSchema parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportedDataInfo.RecordSchema parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportedDataInfo.RecordSchema parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportedDataInfo.RecordSchema parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportedDataInfo.RecordSchema parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportedDataInfo.RecordSchema parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportedDataInfo.RecordSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportedDataInfo.RecordSchema
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportedDataInfo.RecordSchema getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportedDataInfo.FieldSchema

getFieldsCount()

public int getFieldsCount()

One field per column in the record.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchemaOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportedDataInfo.RecordSchema.Builder newBuilderForType()
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportedDataInfo.RecordSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder
Overrides

toBuilder()

public ImportedDataInfo.RecordSchema.Builder toBuilder()
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException