public final class BigQueryDestination extends GeneratedMessage implements BigQueryDestinationOrBuilder
A BigQuery destination for exporting assets to.
Protobuf type google.cloud.capacityplanner.v1beta.BigQueryDestination
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BigQueryDestination.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BigQueryDestination.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public BigQueryDestination.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides