public final class HybridFindingDetails extends com.google.protobuf.GeneratedMessageV3 implements HybridFindingDetailsOrBuilder
Populate to associate additional data with each finding.Protobuf type
google.privacy.dlp.v2.HybridFindingDetails| Modifier and Type | Class and Description |
|---|---|
static class |
HybridFindingDetails.Builder
Populate to associate additional data with each finding.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_DETAILS_FIELD_NUMBER |
static int |
FILE_OFFSET_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
ROW_OFFSET_FIELD_NUMBER |
static int |
TABLE_OPTIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to represent user provided metadata about the data being inspected.
|
boolean |
equals(Object obj) |
Container |
getContainerDetails()
Details about the container where the content being inspected is from.
|
ContainerOrBuilder |
getContainerDetailsOrBuilder()
Details about the container where the content being inspected is from.
|
static HybridFindingDetails |
getDefaultInstance() |
HybridFindingDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getFileOffset()
Offset in bytes of the line, from the beginning of the file, where the
finding is located.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to represent user provided metadata about the data being inspected.
|
Map<String,String> |
getLabelsMap()
Labels to represent user provided metadata about the data being inspected.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to represent user provided metadata about the data being inspected.
|
String |
getLabelsOrThrow(String key)
Labels to represent user provided metadata about the data being inspected.
|
com.google.protobuf.Parser<HybridFindingDetails> |
getParserForType() |
long |
getRowOffset()
Offset of the row for tables.
|
int |
getSerializedSize() |
TableOptions |
getTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
TableOptionsOrBuilder |
getTableOptionsOrBuilder()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainerDetails()
Details about the container where the content being inspected is from.
|
int |
hashCode() |
boolean |
hasTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static HybridFindingDetails.Builder |
newBuilder() |
static HybridFindingDetails.Builder |
newBuilder(HybridFindingDetails prototype) |
HybridFindingDetails.Builder |
newBuilderForType() |
protected HybridFindingDetails.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HybridFindingDetails |
parseDelimitedFrom(InputStream input) |
static HybridFindingDetails |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HybridFindingDetails |
parseFrom(byte[] data) |
static HybridFindingDetails |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HybridFindingDetails |
parseFrom(ByteBuffer data) |
static HybridFindingDetails |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HybridFindingDetails |
parseFrom(com.google.protobuf.ByteString data) |
static HybridFindingDetails |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HybridFindingDetails |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HybridFindingDetails |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HybridFindingDetails |
parseFrom(InputStream input) |
static HybridFindingDetails |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HybridFindingDetails> |
parser() |
HybridFindingDetails.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic static final int CONTAINER_DETAILS_FIELD_NUMBER
public static final int FILE_OFFSET_FIELD_NUMBER
public static final int ROW_OFFSET_FIELD_NUMBER
public static final int TABLE_OPTIONS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasContainerDetails()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;hasContainerDetails in interface HybridFindingDetailsOrBuilderpublic Container getContainerDetails()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;getContainerDetails in interface HybridFindingDetailsOrBuilderpublic ContainerOrBuilder getContainerDetailsOrBuilder()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;getContainerDetailsOrBuilder in interface HybridFindingDetailsOrBuilderpublic long getFileOffset()
Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.
int64 file_offset = 2;getFileOffset in interface HybridFindingDetailsOrBuilderpublic long getRowOffset()
Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.
int64 row_offset = 3;getRowOffset in interface HybridFindingDetailsOrBuilderpublic boolean hasTableOptions()
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.
.google.privacy.dlp.v2.TableOptions table_options = 4;hasTableOptions in interface HybridFindingDetailsOrBuilderpublic TableOptions getTableOptions()
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.
.google.privacy.dlp.v2.TableOptions table_options = 4;getTableOptions in interface HybridFindingDetailsOrBuilderpublic TableOptionsOrBuilder getTableOptionsOrBuilder()
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.
.google.privacy.dlp.v2.TableOptions table_options = 4;getTableOptionsOrBuilder in interface HybridFindingDetailsOrBuilderpublic int getLabelsCount()
HybridFindingDetailsOrBuilderLabels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with `Finding`'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 5;getLabelsCount in interface HybridFindingDetailsOrBuilderpublic boolean containsLabels(String key)
Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with `Finding`'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 5;containsLabels in interface HybridFindingDetailsOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface HybridFindingDetailsOrBuilderpublic Map<String,String> getLabelsMap()
Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with `Finding`'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 5;getLabelsMap in interface HybridFindingDetailsOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with `Finding`'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 5;getLabelsOrDefault in interface HybridFindingDetailsOrBuilderpublic String getLabelsOrThrow(String key)
Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with `Finding`'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be between 0 and 63 characters long and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated with a given finding. Examples: * `"environment" : "production"` * `"pipeline" : "etl"`
map<string, string> labels = 5;getLabelsOrThrow in interface HybridFindingDetailsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HybridFindingDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HybridFindingDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HybridFindingDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HybridFindingDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HybridFindingDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HybridFindingDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HybridFindingDetails parseFrom(InputStream input) throws IOException
IOExceptionpublic static HybridFindingDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HybridFindingDetails parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HybridFindingDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HybridFindingDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HybridFindingDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HybridFindingDetails.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HybridFindingDetails.Builder newBuilder()
public static HybridFindingDetails.Builder newBuilder(HybridFindingDetails prototype)
public HybridFindingDetails.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HybridFindingDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HybridFindingDetails getDefaultInstance()
public static com.google.protobuf.Parser<HybridFindingDetails> parser()
public com.google.protobuf.Parser<HybridFindingDetails> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HybridFindingDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.