Package com.google.privacy.dlp.v2
Class HybridOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HybridOptions.Builder>
com.google.privacy.dlp.v2.HybridOptions.Builder
- All Implemented Interfaces:
HybridOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HybridOptions
public static final class HybridOptions.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequiredFindingLabelKeys(Iterable<String> values) These are labels that each inspection request must include within their 'finding_labels' map.These are labels that each inspection request must include within their 'finding_labels' map.addRequiredFindingLabelKeysBytes(com.google.protobuf.ByteString value) These are labels that each inspection request must include within their 'finding_labels' map.build()clear()A short description of where the data is coming from.These are labels that each inspection request must include within their 'finding_labels' map.If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.booleancontainsLabels(String key) To organize findings, these labels will be added to each finding.A short description of where the data is coming from.com.google.protobuf.ByteStringA short description of where the data is coming from.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intTo organize findings, these labels will be added to each finding.To organize findings, these labels will be added to each finding.getLabelsOrDefault(String key, String defaultValue) To organize findings, these labels will be added to each finding.getLabelsOrThrow(String key) To organize findings, these labels will be added to each finding.Deprecated.getRequiredFindingLabelKeys(int index) These are labels that each inspection request must include within their 'finding_labels' map.com.google.protobuf.ByteStringgetRequiredFindingLabelKeysBytes(int index) These are labels that each inspection request must include within their 'finding_labels' map.intThese are labels that each inspection request must include within their 'finding_labels' map.com.google.protobuf.ProtocolStringListThese are labels that each inspection request must include within their 'finding_labels' map.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.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 booleanmergeFrom(HybridOptions 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) To organize findings, these labels will be added to each finding.To organize findings, these labels will be added to each finding.removeLabels(String key) To organize findings, these labels will be added to each finding.setDescription(String value) A short description of where the data is coming from.setDescriptionBytes(com.google.protobuf.ByteString value) A short description of where the data is coming from.setRequiredFindingLabelKeys(int index, String value) These are labels that each inspection request must include within their 'finding_labels' map.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<HybridOptions.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<HybridOptions.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HybridOptions.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<HybridOptions.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<HybridOptions.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<HybridOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HybridOptions.Builder>
-
mergeFrom
public HybridOptions.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<HybridOptions.Builder>- Throws:
IOException
-
getDescription
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;- Specified by:
getDescriptionin interfaceHybridOptionsOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceHybridOptionsOrBuilder- Returns:
- The bytes for description.
-
setDescription
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
string description = 1;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getRequiredFindingLabelKeysList
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;- Specified by:
getRequiredFindingLabelKeysListin interfaceHybridOptionsOrBuilder- Returns:
- A list containing the requiredFindingLabelKeys.
-
getRequiredFindingLabelKeysCount
public 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;- Specified by:
getRequiredFindingLabelKeysCountin interfaceHybridOptionsOrBuilder- Returns:
- The count of requiredFindingLabelKeys.
-
getRequiredFindingLabelKeys
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;- Specified by:
getRequiredFindingLabelKeysin interfaceHybridOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requiredFindingLabelKeys at the given index.
-
getRequiredFindingLabelKeysBytes
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;- Specified by:
getRequiredFindingLabelKeysBytesin interfaceHybridOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredFindingLabelKeys at the given index.
-
setRequiredFindingLabelKeys
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;- Parameters:
index- The index to set the value at.value- The requiredFindingLabelKeys to set.- Returns:
- This builder for chaining.
-
addRequiredFindingLabelKeys
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;- Parameters:
value- The requiredFindingLabelKeys to add.- Returns:
- This builder for chaining.
-
addAllRequiredFindingLabelKeys
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;- Parameters:
values- The requiredFindingLabelKeys to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addRequiredFindingLabelKeysBytes
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;- Parameters:
value- The bytes of the requiredFindingLabelKeys to add.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface: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;- Specified by:
getLabelsCountin interfaceHybridOptionsOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceHybridOptionsOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceHybridOptionsOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceHybridOptionsOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceHybridOptionsOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceHybridOptionsOrBuilder
-
clearLabels
-
removeLabels
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; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
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; -
putAllLabels
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; -
hasTableOptions
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;- Specified by:
hasTableOptionsin interfaceHybridOptionsOrBuilder- 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.
.google.privacy.dlp.v2.TableOptions table_options = 4;- Specified by:
getTableOptionsin interfaceHybridOptionsOrBuilder- Returns:
- The tableOptions.
-
setTableOptions
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; -
setTableOptions
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; -
mergeTableOptions
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; -
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; -
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; -
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;- Specified by:
getTableOptionsOrBuilderin interfaceHybridOptionsOrBuilder
-