Package com.google.privacy.dlp.v2
Class BigQueryTable.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
com.google.privacy.dlp.v2.BigQueryTable.Builder
- All Implemented Interfaces:
BigQueryTableOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BigQueryTable
public static final class BigQueryTable.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
implements BigQueryTableOrBuilder
Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: `<project_id>:<dataset_id>.<table_id>` or `<project_id>.<dataset_id>.<table_id>`.Protobuf type
google.privacy.dlp.v2.BigQueryTable-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Dataset ID of the table.The Google Cloud project ID of the project containing the table.Name of the table.Dataset ID of the table.com.google.protobuf.ByteStringDataset ID of the table.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe Google Cloud project ID of the project containing the table.com.google.protobuf.ByteStringThe Google Cloud project ID of the project containing the table.Name of the table.com.google.protobuf.ByteStringName of the table.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(BigQueryTable other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDatasetId(String value) Dataset ID of the table.setDatasetIdBytes(com.google.protobuf.ByteString value) Dataset ID of the table.setProjectId(String value) The Google Cloud project ID of the project containing the table.setProjectIdBytes(com.google.protobuf.ByteString value) The Google Cloud project ID of the project containing the table.setTableId(String value) Name of the table.setTableIdBytes(com.google.protobuf.ByteString value) Name of the table.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BigQueryTable.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BigQueryTable.Builder>
-
mergeFrom
public BigQueryTable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BigQueryTable.Builder>- Throws:
IOException
-
getProjectId
The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.
string project_id = 1;- Specified by:
getProjectIdin interfaceBigQueryTableOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceBigQueryTableOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getDatasetId
Dataset ID of the table.
string dataset_id = 2;- Specified by:
getDatasetIdin interfaceBigQueryTableOrBuilder- Returns:
- The datasetId.
-
getDatasetIdBytes
public com.google.protobuf.ByteString getDatasetIdBytes()Dataset ID of the table.
string dataset_id = 2;- Specified by:
getDatasetIdBytesin interfaceBigQueryTableOrBuilder- Returns:
- The bytes for datasetId.
-
setDatasetId
Dataset ID of the table.
string dataset_id = 2;- Parameters:
value- The datasetId to set.- Returns:
- This builder for chaining.
-
clearDatasetId
Dataset ID of the table.
string dataset_id = 2;- Returns:
- This builder for chaining.
-
setDatasetIdBytes
Dataset ID of the table.
string dataset_id = 2;- Parameters:
value- The bytes for datasetId to set.- Returns:
- This builder for chaining.
-
getTableId
Name of the table.
string table_id = 3;- Specified by:
getTableIdin interfaceBigQueryTableOrBuilder- Returns:
- The tableId.
-
getTableIdBytes
public com.google.protobuf.ByteString getTableIdBytes()Name of the table.
string table_id = 3;- Specified by:
getTableIdBytesin interfaceBigQueryTableOrBuilder- Returns:
- The bytes for tableId.
-
setTableId
Name of the table.
string table_id = 3;- Parameters:
value- The tableId to set.- Returns:
- This builder for chaining.
-
clearTableId
Name of the table.
string table_id = 3;- Returns:
- This builder for chaining.
-
setTableIdBytes
Name of the table.
string table_id = 3;- Parameters:
value- The bytes for tableId to set.- Returns:
- This builder for chaining.
-