public static final class HybridOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder> implements HybridOptionsOrBuilder
Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.Protobuf type
google.privacy.dlp.v2.HybridOptions| Modifier and Type | Method and Description |
|---|---|
HybridOptions.Builder |
addAllRequiredFindingLabelKeys(Iterable<String> values)
These are labels that each inspection request must include within their
'finding_labels' map.
|
HybridOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HybridOptions.Builder |
addRequiredFindingLabelKeys(String value)
These are labels that each inspection request must include within their
'finding_labels' map.
|
HybridOptions.Builder |
addRequiredFindingLabelKeysBytes(com.google.protobuf.ByteString value)
These are labels that each inspection request must include within their
'finding_labels' map.
|
HybridOptions |
build() |
HybridOptions |
buildPartial() |
HybridOptions.Builder |
clear() |
HybridOptions.Builder |
clearDescription()
A short description of where the data is coming from.
|
HybridOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HybridOptions.Builder |
clearLabels() |
HybridOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HybridOptions.Builder |
clearRequiredFindingLabelKeys()
These are labels that each inspection request must include within their
'finding_labels' map.
|
HybridOptions.Builder |
clearTableOptions()
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridOptions.Builder |
clone() |
boolean |
containsLabels(String key)
To organize findings, these labels will be added to each finding.
|
HybridOptions |
getDefaultInstanceForType() |
String |
getDescription()
A short description of where the data is coming from.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A short description of where the data is coming from.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
To organize findings, these labels will be added to each finding.
|
Map<String,String> |
getLabelsMap()
To organize findings, these labels will be added to each finding.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
To organize findings, these labels will be added to each finding.
|
String |
getLabelsOrThrow(String key)
To organize findings, these labels will be added to each finding.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getRequiredFindingLabelKeys(int index)
These are labels that each inspection request must include within their
'finding_labels' map.
|
com.google.protobuf.ByteString |
getRequiredFindingLabelKeysBytes(int index)
These are labels that each inspection request must include within their
'finding_labels' map.
|
int |
getRequiredFindingLabelKeysCount()
These are labels that each inspection request must include within their
'finding_labels' map.
|
com.google.protobuf.ProtocolStringList |
getRequiredFindingLabelKeysList()
These are labels that each inspection request must include within their
'finding_labels' map.
|
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 |
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() |
HybridOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HybridOptions.Builder |
mergeFrom(HybridOptions other) |
HybridOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
HybridOptions.Builder |
mergeTableOptions(TableOptions value)
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HybridOptions.Builder |
putAllLabels(Map<String,String> values)
To organize findings, these labels will be added to each finding.
|
HybridOptions.Builder |
putLabels(String key,
String value)
To organize findings, these labels will be added to each finding.
|
HybridOptions.Builder |
removeLabels(String key)
To organize findings, these labels will be added to each finding.
|
HybridOptions.Builder |
setDescription(String value)
A short description of where the data is coming from.
|
HybridOptions.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A short description of where the data is coming from.
|
HybridOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HybridOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HybridOptions.Builder |
setRequiredFindingLabelKeys(int index,
String value)
These are labels that each inspection request must include within their
'finding_labels' map.
|
HybridOptions.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.
|
HybridOptions.Builder |
setTableOptions(TableOptions value)
If the container is a table, additional information to make findings
meaningful such as the columns that are primary keys.
|
HybridOptions.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<HybridOptions.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>public HybridOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.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<HybridOptions.Builder>public HybridOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HybridOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HybridOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HybridOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>public HybridOptions.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<HybridOptions.Builder>public HybridOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>public HybridOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>public HybridOptions.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<HybridOptions.Builder>public HybridOptions.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<HybridOptions.Builder>public HybridOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HybridOptions.Builder>public HybridOptions.Builder mergeFrom(HybridOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>public HybridOptions.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<HybridOptions.Builder>IOExceptionpublic String getDescription()
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;getDescription in interface HybridOptionsOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;getDescriptionBytes in interface HybridOptionsOrBuilderpublic HybridOptions.Builder setDescription(String value)
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;value - The description to set.public HybridOptions.Builder clearDescription()
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;public HybridOptions.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;value - The bytes for description to set.public com.google.protobuf.ProtocolStringList getRequiredFindingLabelKeysList()
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;getRequiredFindingLabelKeysList in interface HybridOptionsOrBuilderpublic int getRequiredFindingLabelKeysCount()
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;getRequiredFindingLabelKeysCount in interface HybridOptionsOrBuilderpublic String getRequiredFindingLabelKeys(int index)
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;getRequiredFindingLabelKeys in interface HybridOptionsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRequiredFindingLabelKeysBytes(int index)
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;getRequiredFindingLabelKeysBytes in interface HybridOptionsOrBuilderindex - The index of the value to return.public HybridOptions.Builder setRequiredFindingLabelKeys(int index, String value)
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;index - The index to set the value at.value - The requiredFindingLabelKeys to set.public HybridOptions.Builder addRequiredFindingLabelKeys(String value)
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;value - The requiredFindingLabelKeys to add.public HybridOptions.Builder addAllRequiredFindingLabelKeys(Iterable<String> values)
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;values - The requiredFindingLabelKeys to add.public HybridOptions.Builder clearRequiredFindingLabelKeys()
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;public HybridOptions.Builder addRequiredFindingLabelKeysBytes(com.google.protobuf.ByteString value)
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. 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])?`. No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;value - The bytes of the requiredFindingLabelKeys to add.public int getLabelsCount()
HybridOptionsOrBuilderTo organize findings, these labels will be added to each finding. 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 = 3;getLabelsCount in interface HybridOptionsOrBuilderpublic boolean containsLabels(String key)
To organize findings, these labels will be added to each finding. 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 = 3;containsLabels in interface HybridOptionsOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface HybridOptionsOrBuilderpublic Map<String,String> getLabelsMap()
To organize findings, these labels will be added to each finding. 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 = 3;getLabelsMap in interface HybridOptionsOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
To organize findings, these labels will be added to each finding. 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 = 3;getLabelsOrDefault in interface HybridOptionsOrBuilderpublic String getLabelsOrThrow(String key)
To organize findings, these labels will be added to each finding. 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 = 3;getLabelsOrThrow in interface HybridOptionsOrBuilderpublic HybridOptions.Builder clearLabels()
public HybridOptions.Builder removeLabels(String key)
To organize findings, these labels will be added to each finding. 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 = 3;@Deprecated public Map<String,String> getMutableLabels()
public HybridOptions.Builder putLabels(String key, String value)
To organize findings, these labels will be added to each finding. 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 = 3;public HybridOptions.Builder putAllLabels(Map<String,String> values)
To organize findings, these labels will be added to each finding. 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 = 3;public boolean hasTableOptions()
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;hasTableOptions in interface HybridOptionsOrBuilderpublic TableOptions getTableOptions()
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;getTableOptions in interface HybridOptionsOrBuilderpublic HybridOptions.Builder setTableOptions(TableOptions value)
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;public HybridOptions.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.
.google.privacy.dlp.v2.TableOptions table_options = 4;public HybridOptions.Builder mergeTableOptions(TableOptions value)
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
.google.privacy.dlp.v2.TableOptions table_options = 4;public HybridOptions.Builder clearTableOptions()
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.
.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.
.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.
.google.privacy.dlp.v2.TableOptions table_options = 4;getTableOptionsOrBuilder in interface HybridOptionsOrBuilderpublic final HybridOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>public final HybridOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HybridOptions.Builder>Copyright © 2022 Google LLC. All rights reserved.