Package com.google.privacy.dlp.v2
Class HybridFindingDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HybridFindingDetails.Builder>
com.google.privacy.dlp.v2.HybridFindingDetails.Builder
- All Implemented Interfaces:
HybridFindingDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HybridFindingDetails
public static final class HybridFindingDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HybridFindingDetails.Builder>
implements HybridFindingDetailsOrBuilder
Populate to associate additional data with each finding.Protobuf type
google.privacy.dlp.v2.HybridFindingDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Details about the container where the content being inspected is from.Offset in bytes of the line, from the beginning of the file, where the finding is located.Offset of the row for tables.If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.booleancontainsLabels(String key) Labels to represent user provided metadata about the data being inspected.Details about the container where the content being inspected is from.Details about the container where the content being inspected is from.Details about the container where the content being inspected is from.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOffset in bytes of the line, from the beginning of the file, where the finding is located.Deprecated.intLabels to represent user provided metadata about the data being inspected.Labels to represent user provided metadata about the data being inspected.getLabelsOrDefault(String key, String defaultValue) Labels to represent user provided metadata about the data being inspected.getLabelsOrThrow(String key) Labels to represent user provided metadata about the data being inspected.Deprecated.longOffset of the row for tables.If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.booleanDetails about the container where the content being inspected is from.booleanIf the container is a table, additional information to make findings meaningful such as the columns that are primary keys.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeContainerDetails(Container value) Details about the container where the content being inspected is from.mergeFrom(HybridFindingDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTableOptions(TableOptions value) If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.putAllLabels(Map<String, String> values) Labels to represent user provided metadata about the data being inspected.Labels to represent user provided metadata about the data being inspected.removeLabels(String key) Labels to represent user provided metadata about the data being inspected.setContainerDetails(Container value) Details about the container where the content being inspected is from.setContainerDetails(Container.Builder builderForValue) Details about the container where the content being inspected is from.setFileOffset(long value) Offset in bytes of the line, from the beginning of the file, where the finding is located.setRowOffset(long value) Offset of the row for tables.setTableOptions(TableOptions value) If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.setTableOptions(TableOptions.Builder builderForValue) If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HybridFindingDetails.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HybridFindingDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HybridFindingDetails.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<HybridFindingDetails.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<HybridFindingDetails.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<HybridFindingDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HybridFindingDetails.Builder>
-
mergeFrom
public HybridFindingDetails.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<HybridFindingDetails.Builder>- Throws:
IOException
-
hasContainerDetails
public boolean hasContainerDetails()Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;- Specified by:
hasContainerDetailsin interfaceHybridFindingDetailsOrBuilder- Returns:
- Whether the containerDetails field is set.
-
getContainerDetails
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;- Specified by:
getContainerDetailsin interfaceHybridFindingDetailsOrBuilder- Returns:
- The containerDetails.
-
setContainerDetails
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1; -
setContainerDetails
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1; -
mergeContainerDetails
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1; -
clearContainerDetails
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1; -
getContainerDetailsBuilder
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1; -
getContainerDetailsOrBuilder
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;- Specified by:
getContainerDetailsOrBuilderin interfaceHybridFindingDetailsOrBuilder
-
getFileOffset
public 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;- Specified by:
getFileOffsetin interfaceHybridFindingDetailsOrBuilder- Returns:
- The fileOffset.
-
setFileOffset
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;- Parameters:
value- The fileOffset to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getRowOffset
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;- Specified by:
getRowOffsetin interfaceHybridFindingDetailsOrBuilder- Returns:
- The rowOffset.
-
setRowOffset
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;- Parameters:
value- The rowOffset to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
hasTableOptions
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;- Specified by:
hasTableOptionsin interfaceHybridFindingDetailsOrBuilder- Returns:
- Whether the tableOptions field is set.
-
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;- Specified by:
getTableOptionsin interfaceHybridFindingDetailsOrBuilder- Returns:
- The tableOptions.
-
setTableOptions
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; -
setTableOptions
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; -
mergeTableOptions
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; -
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; -
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; -
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;- Specified by:
getTableOptionsOrBuilderin interfaceHybridFindingDetailsOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface: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;- Specified by:
getLabelsCountin interfaceHybridFindingDetailsOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceHybridFindingDetailsOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceHybridFindingDetailsOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceHybridFindingDetailsOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceHybridFindingDetailsOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceHybridFindingDetailsOrBuilder
-
clearLabels
-
removeLabels
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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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; -
putAllLabels
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;
-