Send feedback
Class BigQueryDestination (0.1.0)
public final class BigQueryDestination extends GeneratedMessageV3 implements BigQueryDestinationOrBuilder
A BigQuery destination for exporting assets to.
Protobuf type google.cloud.capacityplanner.v1beta.BigQueryDestination
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
CREATE_DISPOSITION_FIELD_NUMBER
public static final int CREATE_DISPOSITION_FIELD_NUMBER
Field Value
Type
Description
int
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER
Field Value
Type
Description
int
GCS_LOCATION_FIELD_NUMBER
public static final int GCS_LOCATION_FIELD_NUMBER
Field Value
Type
Description
int
PARTITION_KEY_FIELD_NUMBER
public static final int PARTITION_KEY_FIELD_NUMBER
Field Value
Type
Description
int
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value
Type
Description
int
WRITE_DISPOSITION_FIELD_NUMBER
public static final int WRITE_DISPOSITION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static BigQueryDestination getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static BigQueryDestination . Builder newBuilder ()
newBuilder(BigQueryDestination prototype)
public static BigQueryDestination . Builder newBuilder ( BigQueryDestination prototype )
public static BigQueryDestination parseDelimitedFrom ( InputStream input )
public static BigQueryDestination parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static BigQueryDestination parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryDestination parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static BigQueryDestination parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryDestination parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BigQueryDestination parseFrom ( CodedInputStream input )
public static BigQueryDestination parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BigQueryDestination parseFrom ( InputStream input )
public static BigQueryDestination parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static BigQueryDestination parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryDestination parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<BigQueryDestination> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCreateDisposition()
public BigQueryDestination . CreateDisposition getCreateDisposition ()
Optional. Specifies the action that occurs if the destination table does
not exist
.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDisposition create_disposition = 5 [(.google.api.field_behavior) = OPTIONAL];
getCreateDispositionValue()
public int getCreateDispositionValue ()
Optional. Specifies the action that occurs if the destination table does
not exist
.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDisposition create_disposition = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for createDisposition.
getDataset()
public String getDataset ()
Required. The BigQuery dataset in format
"projects/{projectId}/datasets/{datasetId}", to which the snapshot result
should be exported. If this dataset does not exist, the export call returns
an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The dataset.
getDatasetBytes()
public ByteString getDatasetBytes ()
Required. The BigQuery dataset in format
"projects/{projectId}/datasets/{datasetId}", to which the snapshot result
should be exported. If this dataset does not exist, the export call returns
an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for dataset.
getDefaultInstanceForType()
public BigQueryDestination getDefaultInstanceForType ()
getGcsLocation()
public String getGcsLocation ()
Optional. Specifies the Cloud Storage location.
Users can choose to provide a location for Cloud Storage bucket to store
the exported data. (as it is possible that some locations are restricted
via org policy for that project) Temporary Cloud Storage bucket creation is
an interim step for BigQuery upload. If no value is provided, the default
location used will be 'US'.
string gcs_location = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The gcsLocation.
getGcsLocationBytes()
public ByteString getGcsLocationBytes ()
Optional. Specifies the Cloud Storage location.
Users can choose to provide a location for Cloud Storage bucket to store
the exported data. (as it is possible that some locations are restricted
via org policy for that project) Temporary Cloud Storage bucket creation is
an interim step for BigQuery upload. If no value is provided, the default
location used will be 'US'.
string gcs_location = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for gcsLocation.
getParserForType()
public Parser<BigQueryDestination> getParserForType ()
Overrides
getPartitionKey()
public BigQueryDestination . PartitionKey getPartitionKey ()
Optional. The partition key for BigQuery partitioned table.
.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKey partition_key = 3 [(.google.api.field_behavior) = OPTIONAL];
getPartitionKeyValue()
public int getPartitionKeyValue ()
Optional. The partition key for BigQuery partitioned table.
.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKey partition_key = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for partitionKey.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTable()
Required. The BigQuery table to which the snapshot result should be
written.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The table.
getTableBytes()
public ByteString getTableBytes ()
Required. The BigQuery table to which the snapshot result should be
written.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for table.
getWriteDisposition()
public BigQueryDestination . WriteDisposition getWriteDisposition ()
Optional. Specifies the action that occurs if the destination table or
partition already exists.
.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
getWriteDispositionValue()
public int getWriteDispositionValue ()
Optional. Specifies the action that occurs if the destination table or
partition already exists.
.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for writeDisposition.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public BigQueryDestination . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryDestination . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public BigQueryDestination . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]