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