public static final class HybridFindingDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder> implements HybridFindingDetailsOrBuilder
Populate to associate additional data with each finding.Protobuf type
google.privacy.dlp.v2.HybridFindingDetails| Modifier and Type | Method and Description |
|---|---|
HybridFindingDetails.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HybridFindingDetails |
build() |
HybridFindingDetails |
buildPartial() |
HybridFindingDetails.Builder |
clear() |
HybridFindingDetails.Builder |
clearContainerDetails()
Details about the container where the content being inspected is from.
|
HybridFindingDetails.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HybridFindingDetails.Builder |
clearFileOffset()
Offset in bytes of the line, from the beginning of the file, where the
finding is located.
|
HybridFindingDetails.Builder |
clearLabels() |
HybridFindingDetails.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HybridFindingDetails.Builder |
clearRowOffset()
Offset of the row for tables.
|
HybridFindingDetails.Builder |
clearTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridFindingDetails.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to represent user provided metadata about the data being inspected.
|
Container |
getContainerDetails()
Details about the container where the content being inspected is from.
|
Container.Builder |
getContainerDetailsBuilder()
Details about the container where the content being inspected is from.
|
ContainerOrBuilder |
getContainerDetailsOrBuilder()
Details about the container where the content being inspected is from.
|
HybridFindingDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
long |
getRowOffset()
Offset of the row for tables.
|
TableOptions |
getTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
TableOptions.Builder |
getTableOptionsBuilder()
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.
|
boolean |
hasContainerDetails()
Details about the container where the content being inspected is from.
|
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) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
HybridFindingDetails.Builder |
mergeContainerDetails(Container value)
Details about the container where the content being inspected is from.
|
HybridFindingDetails.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HybridFindingDetails.Builder |
mergeFrom(HybridFindingDetails other) |
HybridFindingDetails.Builder |
mergeFrom(com.google.protobuf.Message other) |
HybridFindingDetails.Builder |
mergeTableOptions(TableOptions value)
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridFindingDetails.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HybridFindingDetails.Builder |
putAllLabels(Map<String,String> values)
Labels to represent user provided metadata about the data being inspected.
|
HybridFindingDetails.Builder |
putLabels(String key,
String value)
Labels to represent user provided metadata about the data being inspected.
|
HybridFindingDetails.Builder |
removeLabels(String key)
Labels to represent user provided metadata about the data being inspected.
|
HybridFindingDetails.Builder |
setContainerDetails(Container.Builder builderForValue)
Details about the container where the content being inspected is from.
|
HybridFindingDetails.Builder |
setContainerDetails(Container value)
Details about the container where the content being inspected is from.
|
HybridFindingDetails.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HybridFindingDetails.Builder |
setFileOffset(long value)
Offset in bytes of the line, from the beginning of the file, where the
finding is located.
|
HybridFindingDetails.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HybridFindingDetails.Builder |
setRowOffset(long value)
Offset of the row for tables.
|
HybridFindingDetails.Builder |
setTableOptions(TableOptions.Builder builderForValue)
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridFindingDetails.Builder |
setTableOptions(TableOptions value)
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridFindingDetails.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>public HybridFindingDetails.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.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<HybridFindingDetails.Builder>public HybridFindingDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HybridFindingDetails build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HybridFindingDetails buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HybridFindingDetails.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>public HybridFindingDetails.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<HybridFindingDetails.Builder>public HybridFindingDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>public HybridFindingDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>public HybridFindingDetails.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<HybridFindingDetails.Builder>public HybridFindingDetails.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<HybridFindingDetails.Builder>public HybridFindingDetails.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HybridFindingDetails.Builder>public HybridFindingDetails.Builder mergeFrom(HybridFindingDetails other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>public HybridFindingDetails.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<HybridFindingDetails.Builder>IOExceptionpublic 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 HybridFindingDetails.Builder setContainerDetails(Container value)
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;public HybridFindingDetails.Builder setContainerDetails(Container.Builder builderForValue)
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;public HybridFindingDetails.Builder mergeContainerDetails(Container value)
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;public HybridFindingDetails.Builder clearContainerDetails()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;public Container.Builder getContainerDetailsBuilder()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;public 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 HybridFindingDetails.Builder setFileOffset(long value)
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;value - The fileOffset to set.public HybridFindingDetails.Builder clearFileOffset()
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;public 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 HybridFindingDetails.Builder setRowOffset(long value)
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;value - The rowOffset to set.public HybridFindingDetails.Builder clearRowOffset()
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;public 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 HybridFindingDetails.Builder setTableOptions(TableOptions value)
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;public HybridFindingDetails.Builder setTableOptions(TableOptions.Builder builderForValue)
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;public HybridFindingDetails.Builder mergeTableOptions(TableOptions value)
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;public HybridFindingDetails.Builder clearTableOptions()
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;public TableOptions.Builder getTableOptionsBuilder()
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;public 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 HybridFindingDetails.Builder clearLabels()
public HybridFindingDetails.Builder removeLabels(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;@Deprecated public Map<String,String> getMutableLabels()
public HybridFindingDetails.Builder putLabels(String key, String value)
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;public HybridFindingDetails.Builder putAllLabels(Map<String,String> values)
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;public final HybridFindingDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>public final HybridFindingDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>Copyright © 2022 Google LLC. All rights reserved.