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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<HybridFindingDetails.Builder> implements HybridFindingDetailsOrBuilder
Populate to associate additional data with each finding.
Protobuf typegoogle.privacy.dlp.v2.HybridFindingDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HybridFindingDetails.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HybridFindingDetailsbuild()HybridFindingDetailsbuildPartial()HybridFindingDetails.Builderclear()HybridFindingDetails.BuilderclearContainerDetails()Details about the container where the content being inspected is from.HybridFindingDetails.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HybridFindingDetails.BuilderclearFileOffset()Offset in bytes of the line, from the beginning of the file, where the finding is located.HybridFindingDetails.BuilderclearLabels()HybridFindingDetails.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HybridFindingDetails.BuilderclearRowOffset()Offset of the row for tables.HybridFindingDetails.BuilderclearTableOptions()If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.HybridFindingDetails.Builderclone()booleancontainsLabels(String key)Labels to represent user provided metadata about the data being inspected.ContainergetContainerDetails()Details about the container where the content being inspected is from.Container.BuildergetContainerDetailsBuilder()Details about the container where the content being inspected is from.ContainerOrBuildergetContainerDetailsOrBuilder()Details about the container where the content being inspected is from.HybridFindingDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetFileOffset()Offset in bytes of the line, from the beginning of the file, where the finding is located.Map<String,String>getLabels()Deprecated.intgetLabelsCount()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.StringgetLabelsOrDefault(String key, String defaultValue)Labels to represent user provided metadata about the data being inspected.StringgetLabelsOrThrow(String key)Labels to represent user provided metadata about the data being inspected.Map<String,String>getMutableLabels()Deprecated.longgetRowOffset()Offset of the row for tables.TableOptionsgetTableOptions()If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.TableOptions.BuildergetTableOptionsBuilder()If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.TableOptionsOrBuildergetTableOptionsOrBuilder()If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.booleanhasContainerDetails()Details about the container where the content being inspected is from.booleanhasTableOptions()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.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()HybridFindingDetails.BuildermergeContainerDetails(Container value)Details about the container where the content being inspected is from.HybridFindingDetails.BuildermergeFrom(HybridFindingDetails other)HybridFindingDetails.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HybridFindingDetails.BuildermergeFrom(com.google.protobuf.Message other)HybridFindingDetails.BuildermergeTableOptions(TableOptions value)If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.HybridFindingDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HybridFindingDetails.BuilderputAllLabels(Map<String,String> values)Labels to represent user provided metadata about the data being inspected.HybridFindingDetails.BuilderputLabels(String key, String value)Labels to represent user provided metadata about the data being inspected.HybridFindingDetails.BuilderremoveLabels(String key)Labels to represent user provided metadata about the data being inspected.HybridFindingDetails.BuildersetContainerDetails(Container value)Details about the container where the content being inspected is from.HybridFindingDetails.BuildersetContainerDetails(Container.Builder builderForValue)Details about the container where the content being inspected is from.HybridFindingDetails.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HybridFindingDetails.BuildersetFileOffset(long value)Offset in bytes of the line, from the beginning of the file, where the finding is located.HybridFindingDetails.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HybridFindingDetails.BuildersetRowOffset(long value)Offset of the row for tables.HybridFindingDetails.BuildersetTableOptions(TableOptions value)If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.HybridFindingDetails.BuildersetTableOptions(TableOptions.Builder builderForValue)If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.HybridFindingDetails.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
clear
public HybridFindingDetails.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
getDefaultInstanceForType
public HybridFindingDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HybridFindingDetails build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HybridFindingDetails buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HybridFindingDetails.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
setField
public HybridFindingDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
clearField
public HybridFindingDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
clearOneof
public HybridFindingDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
setRepeatedField
public HybridFindingDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
addRepeatedField
public HybridFindingDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
mergeFrom
public HybridFindingDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HybridFindingDetails.Builder>
-
mergeFrom
public HybridFindingDetails.Builder mergeFrom(HybridFindingDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public Container 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
public HybridFindingDetails.Builder setContainerDetails(Container value)
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;
-
setContainerDetails
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;
-
mergeContainerDetails
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;
-
clearContainerDetails
public HybridFindingDetails.Builder clearContainerDetails()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;
-
getContainerDetailsBuilder
public Container.Builder getContainerDetailsBuilder()
Details about the container where the content being inspected is from.
.google.privacy.dlp.v2.Container container_details = 1;
-
getContainerDetailsOrBuilder
public ContainerOrBuilder 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
public 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;- Parameters:
value- The fileOffset to set.- Returns:
- This builder for chaining.
-
clearFileOffset
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;- 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
public 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;- Parameters:
value- The rowOffset to set.- Returns:
- This builder for chaining.
-
clearRowOffset
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;- 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
public 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;- Specified by:
getTableOptionsin interfaceHybridFindingDetailsOrBuilder- Returns:
- The tableOptions.
-
setTableOptions
public 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;
-
setTableOptions
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;
-
mergeTableOptions
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;
-
clearTableOptions
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;
-
getTableOptionsBuilder
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;
-
getTableOptionsOrBuilder
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;- 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
public 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;- Specified by:
containsLabelsin interfaceHybridFindingDetailsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceHybridFindingDetailsOrBuilder
-
getLabelsMap
public 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;- Specified by:
getLabelsMapin interfaceHybridFindingDetailsOrBuilder
-
getLabelsOrDefault
public 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;- Specified by:
getLabelsOrDefaultin interfaceHybridFindingDetailsOrBuilder
-
getLabelsOrThrow
public 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;- Specified by:
getLabelsOrThrowin interfaceHybridFindingDetailsOrBuilder
-
clearLabels
public HybridFindingDetails.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
setUnknownFields
public final HybridFindingDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
mergeUnknownFields
public final HybridFindingDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
-