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.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(HybridFindingDetails other)
HybridFindingDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
Details about the container where the content being inspected is from.HybridFindingDetails.Builder
setContainerDetails(Container.Builder builderForValue)
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 value)
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.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
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
clear
public HybridFindingDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
getDefaultInstanceForType
public HybridFindingDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HybridFindingDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HybridFindingDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HybridFindingDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
setField
public HybridFindingDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
clearField
public HybridFindingDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
clearOneof
public HybridFindingDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
setRepeatedField
public HybridFindingDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
addRepeatedField
public HybridFindingDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
mergeFrom
public HybridFindingDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HybridFindingDetails.Builder>
-
mergeFrom
public HybridFindingDetails.Builder mergeFrom(HybridFindingDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasContainerDetails
in 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:
getContainerDetails
in 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:
getContainerDetailsOrBuilder
in 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:
getFileOffset
in 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:
getRowOffset
in 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:
hasTableOptions
in 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:
getTableOptions
in 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:
getTableOptionsOrBuilder
in interfaceHybridFindingDetailsOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:HybridFindingDetailsOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceHybridFindingDetailsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
mergeUnknownFields
public final HybridFindingDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridFindingDetails.Builder>
-
-