public final class OutputStorageConfig extends GeneratedMessageV3 implements OutputStorageConfigOrBuilder
Cloud repository for storing output.Protobuf type
google.privacy.dlp.v2beta1.OutputStorageConfig| Modifier and Type | Class and Description |
|---|---|
static class |
OutputStorageConfig.Builder
Cloud repository for storing output.
|
static class |
OutputStorageConfig.TypeCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
STORAGE_PATH_FIELD_NUMBER |
static int |
TABLE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TABLE_FIELD_NUMBER
public static final int STORAGE_PATH_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public OutputStorageConfig.TypeCase getTypeCase()
getTypeCase in interface OutputStorageConfigOrBuilderpublic boolean hasTable()
Store findings in a new table in the dataset.
.google.privacy.dlp.v2beta1.BigQueryTable table = 1;hasTable in interface OutputStorageConfigOrBuilderpublic BigQueryTable getTable()
Store findings in a new table in the dataset.
.google.privacy.dlp.v2beta1.BigQueryTable table = 1;getTable in interface OutputStorageConfigOrBuilderpublic BigQueryTableOrBuilder getTableOrBuilder()
Store findings in a new table in the dataset.
.google.privacy.dlp.v2beta1.BigQueryTable table = 1;getTableOrBuilder in interface OutputStorageConfigOrBuilderpublic boolean hasStoragePath()
The path to a Google Cloud Storage location to store output. The bucket must already exist and the Google APIs service account for DLP must have write permission to write to the given bucket. Results are split over multiple csv files with each file name matching the pattern "[operation_id]_[count].csv", for example `3094877188788974909_1.csv`. The `operation_id` matches the identifier for the Operation, and the `count` is a counter used for tracking the number of files written. The CSV file(s) contain the following columns regardless of storage type scanned: - id - info_type - likelihood - byte size of finding - quote - timestamp For Cloud Storage the next columns are: - file_path - start_offset For Cloud Datastore the next columns are: - project_id - namespace_id - path - column_name - offset For BigQuery the next columns are: - row_number - project_id - dataset_id - table_id
.google.privacy.dlp.v2beta1.CloudStoragePath storage_path = 2;hasStoragePath in interface OutputStorageConfigOrBuilderpublic CloudStoragePath getStoragePath()
The path to a Google Cloud Storage location to store output. The bucket must already exist and the Google APIs service account for DLP must have write permission to write to the given bucket. Results are split over multiple csv files with each file name matching the pattern "[operation_id]_[count].csv", for example `3094877188788974909_1.csv`. The `operation_id` matches the identifier for the Operation, and the `count` is a counter used for tracking the number of files written. The CSV file(s) contain the following columns regardless of storage type scanned: - id - info_type - likelihood - byte size of finding - quote - timestamp For Cloud Storage the next columns are: - file_path - start_offset For Cloud Datastore the next columns are: - project_id - namespace_id - path - column_name - offset For BigQuery the next columns are: - row_number - project_id - dataset_id - table_id
.google.privacy.dlp.v2beta1.CloudStoragePath storage_path = 2;getStoragePath in interface OutputStorageConfigOrBuilderpublic CloudStoragePathOrBuilder getStoragePathOrBuilder()
The path to a Google Cloud Storage location to store output. The bucket must already exist and the Google APIs service account for DLP must have write permission to write to the given bucket. Results are split over multiple csv files with each file name matching the pattern "[operation_id]_[count].csv", for example `3094877188788974909_1.csv`. The `operation_id` matches the identifier for the Operation, and the `count` is a counter used for tracking the number of files written. The CSV file(s) contain the following columns regardless of storage type scanned: - id - info_type - likelihood - byte size of finding - quote - timestamp For Cloud Storage the next columns are: - file_path - start_offset For Cloud Datastore the next columns are: - project_id - namespace_id - path - column_name - offset For BigQuery the next columns are: - row_number - project_id - dataset_id - table_id
.google.privacy.dlp.v2beta1.CloudStoragePath storage_path = 2;getStoragePathOrBuilder in interface OutputStorageConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static OutputStorageConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OutputStorageConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OutputStorageConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OutputStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OutputStorageConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OutputStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OutputStorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OutputStorageConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OutputStorageConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OutputStorageConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OutputStorageConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OutputStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic OutputStorageConfig.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static OutputStorageConfig.Builder newBuilder()
public static OutputStorageConfig.Builder newBuilder(OutputStorageConfig prototype)
public OutputStorageConfig.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected OutputStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static OutputStorageConfig getDefaultInstance()
public static Parser<OutputStorageConfig> parser()
public Parser<OutputStorageConfig> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public OutputStorageConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder