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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int TABLE_FIELD_NUMBER
public static final int STORAGE_PATH_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public OutputStorageConfig.TypeCase getTypeCase()
getTypeCase
in interface OutputStorageConfigOrBuilder
public boolean hasTable()
Store findings in a new table in the dataset.
.google.privacy.dlp.v2beta1.BigQueryTable table = 1;
hasTable
in interface OutputStorageConfigOrBuilder
public BigQueryTable getTable()
Store findings in a new table in the dataset.
.google.privacy.dlp.v2beta1.BigQueryTable table = 1;
getTable
in interface OutputStorageConfigOrBuilder
public BigQueryTableOrBuilder getTableOrBuilder()
Store findings in a new table in the dataset.
.google.privacy.dlp.v2beta1.BigQueryTable table = 1;
getTableOrBuilder
in interface OutputStorageConfigOrBuilder
public 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 OutputStorageConfigOrBuilder
public 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 OutputStorageConfigOrBuilder
public 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 OutputStorageConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static OutputStorageConfig parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OutputStorageConfig parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OutputStorageConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OutputStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OutputStorageConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OutputStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OutputStorageConfig parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static OutputStorageConfig parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static OutputStorageConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static OutputStorageConfig parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static OutputStorageConfig parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static OutputStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public OutputStorageConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static OutputStorageConfig.Builder newBuilder()
public static OutputStorageConfig.Builder newBuilder(OutputStorageConfig prototype)
public OutputStorageConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected OutputStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static OutputStorageConfig getDefaultInstance()
public static Parser<OutputStorageConfig> parser()
public Parser<OutputStorageConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public OutputStorageConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder