public final class BigQuerySource extends GeneratedMessageV3 implements BigQuerySourceOrBuilder
BigQuery source import data from.
Protobuf type google.cloud.retail.v2beta.BigQuerySource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATASET_ID_FIELD_NUMBER
public static final int DATASET_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DATA_SCHEMA_FIELD_NUMBER
public static final int DATA_SCHEMA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GCS_STAGING_DIR_FIELD_NUMBER
public static final int GCS_STAGING_DIR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARTITION_DATE_FIELD_NUMBER
public static final int PARTITION_DATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TABLE_ID_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BigQuerySource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BigQuerySource.Builder newBuilder()
newBuilder(BigQuerySource prototype)
public static BigQuerySource.Builder newBuilder(BigQuerySource prototype)
public static BigQuerySource parseDelimitedFrom(InputStream input)
public static BigQuerySource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BigQuerySource parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQuerySource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BigQuerySource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQuerySource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQuerySource parseFrom(CodedInputStream input)
public static BigQuerySource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BigQuerySource parseFrom(InputStream input)
public static BigQuerySource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BigQuerySource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQuerySource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BigQuerySource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDataSchema()
public String getDataSchema()
The schema to use when parsing the data from the source.
Supported values for product imports:
string data_schema = 4;
Returns |
---|
Type | Description |
String | The dataSchema.
|
getDataSchemaBytes()
public ByteString getDataSchemaBytes()
The schema to use when parsing the data from the source.
Supported values for product imports:
string data_schema = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for dataSchema.
|
getDatasetId()
public String getDatasetId()
Required. The BigQuery data set to copy the data from with a length limit
of 1,024 characters.
string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The datasetId.
|
getDatasetIdBytes()
public ByteString getDatasetIdBytes()
Required. The BigQuery data set to copy the data from with a length limit
of 1,024 characters.
string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for datasetId.
|
getDefaultInstanceForType()
public BigQuerySource getDefaultInstanceForType()
getGcsStagingDir()
public String getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters. Can be specified if one wants to have the
BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 3;
Returns |
---|
Type | Description |
String | The gcsStagingDir.
|
getGcsStagingDirBytes()
public ByteString getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters. Can be specified if one wants to have the
BigQuery export to a specific Cloud Storage directory.
string gcs_staging_dir = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for gcsStagingDir.
|
getParserForType()
public Parser<BigQuerySource> getParserForType()
Overrides
getPartitionCase()
public BigQuerySource.PartitionCase getPartitionCase()
getPartitionDate()
public Date getPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
Only supported in
ImportProductsRequest.
.google.type.Date partition_date = 6;
Returns |
---|
Type | Description |
com.google.type.Date | The partitionDate.
|
getPartitionDateOrBuilder()
public DateOrBuilder getPartitionDateOrBuilder()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
Only supported in
ImportProductsRequest.
.google.type.Date partition_date = 6;
Returns |
---|
Type | Description |
com.google.type.DateOrBuilder | |
getProjectId()
public String getProjectId()
The project ID (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters. If not specified, inherits the project
ID from the parent request.
string project_id = 5;
Returns |
---|
Type | Description |
String | The projectId.
|
getProjectIdBytes()
public ByteString getProjectIdBytes()
The project ID (can be project # or ID) that the BigQuery source is in with
a length limit of 128 characters. If not specified, inherits the project
ID from the parent request.
string project_id = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for projectId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTableId()
public String getTableId()
Required. The BigQuery table to copy the data from with a length limit of
1,024 characters.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The tableId.
|
getTableIdBytes()
public ByteString getTableIdBytes()
Required. The BigQuery table to copy the data from with a length limit of
1,024 characters.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for tableId.
|
hasPartitionDate()
public boolean hasPartitionDate()
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
Only supported in
ImportProductsRequest.
.google.type.Date partition_date = 6;
Returns |
---|
Type | Description |
boolean | Whether the partitionDate field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BigQuerySource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQuerySource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BigQuerySource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides