public static final class BigQueryDestination.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder> implements BigQueryDestinationOrBuilder
A Bigquery destination.Protobuf type
google.cloud.asset.v1p2beta1.BigQueryDestination| Modifier and Type | Method and Description |
|---|---|
BigQueryDestination.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BigQueryDestination |
build() |
BigQueryDestination |
buildPartial() |
BigQueryDestination.Builder |
clear() |
BigQueryDestination.Builder |
clearDataset()
Required.
|
BigQueryDestination.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BigQueryDestination.Builder |
clearForce()
If the destination table already exists and this flag is `TRUE`, the
table will be overwritten by the contents of assets snapshot.
|
BigQueryDestination.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BigQueryDestination.Builder |
clearTable()
Required.
|
BigQueryDestination.Builder |
clone() |
String |
getDataset()
Required.
|
com.google.protobuf.ByteString |
getDatasetBytes()
Required.
|
BigQueryDestination |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
If the destination table already exists and this flag is `TRUE`, the
table will be overwritten by the contents of assets snapshot.
|
String |
getTable()
Required.
|
com.google.protobuf.ByteString |
getTableBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BigQueryDestination.Builder |
mergeFrom(BigQueryDestination other) |
BigQueryDestination.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BigQueryDestination.Builder |
mergeFrom(com.google.protobuf.Message other) |
BigQueryDestination.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BigQueryDestination.Builder |
setDataset(String value)
Required.
|
BigQueryDestination.Builder |
setDatasetBytes(com.google.protobuf.ByteString value)
Required.
|
BigQueryDestination.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BigQueryDestination.Builder |
setForce(boolean value)
If the destination table already exists and this flag is `TRUE`, the
table will be overwritten by the contents of assets snapshot.
|
BigQueryDestination.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BigQueryDestination.Builder |
setTable(String value)
Required.
|
BigQueryDestination.Builder |
setTableBytes(com.google.protobuf.ByteString value)
Required.
|
BigQueryDestination.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BigQueryDestination build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BigQueryDestination buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BigQueryDestination.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder mergeFrom(BigQueryDestination other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public BigQueryDestination.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryDestination.Builder>IOExceptionpublic 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 error.
string dataset = 1;getDataset in interface BigQueryDestinationOrBuilderpublic com.google.protobuf.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 error.
string dataset = 1;getDatasetBytes in interface BigQueryDestinationOrBuilderpublic BigQueryDestination.Builder setDataset(String value)
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 error.
string dataset = 1;value - The dataset to set.public BigQueryDestination.Builder clearDataset()
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 error.
string dataset = 1;public BigQueryDestination.Builder setDatasetBytes(com.google.protobuf.ByteString value)
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 error.
string dataset = 1;value - The bytes for dataset to set.public String getTable()
Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.
string table = 2;getTable in interface BigQueryDestinationOrBuilderpublic com.google.protobuf.ByteString getTableBytes()
Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.
string table = 2;getTableBytes in interface BigQueryDestinationOrBuilderpublic BigQueryDestination.Builder setTable(String value)
Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.
string table = 2;value - The table to set.public BigQueryDestination.Builder clearTable()
Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.
string table = 2;public BigQueryDestination.Builder setTableBytes(com.google.protobuf.ByteString value)
Required. The BigQuery table to which the snapshot result should be written. If this table does not exist, a new table with the given name will be created.
string table = 2;value - The bytes for table to set.public boolean getForce()
If the destination table already exists and this flag is `TRUE`, the table will be overwritten by the contents of assets snapshot. If the flag is not set and the destination table already exists, the export call returns an error.
bool force = 3;getForce in interface BigQueryDestinationOrBuilderpublic BigQueryDestination.Builder setForce(boolean value)
If the destination table already exists and this flag is `TRUE`, the table will be overwritten by the contents of assets snapshot. If the flag is not set and the destination table already exists, the export call returns an error.
bool force = 3;value - The force to set.public BigQueryDestination.Builder clearForce()
If the destination table already exists and this flag is `TRUE`, the table will be overwritten by the contents of assets snapshot. If the flag is not set and the destination table already exists, the export call returns an error.
bool force = 3;public final BigQueryDestination.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>public final BigQueryDestination.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestination.Builder>Copyright © 2020 Google LLC. All rights reserved.