- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class HybridOptions.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HybridOptions.BuilderImplements
HybridOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRequiredFindingLabelKeys(Iterable<String> values)
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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The requiredFindingLabelKeys to add. |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HybridOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
addRequiredFindingLabelKeys(String value)
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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter | |
---|---|
Name | Description |
value | String The requiredFindingLabelKeys to add. |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
addRequiredFindingLabelKeysBytes(ByteString value)
public HybridOptions.Builder addRequiredFindingLabelKeysBytes(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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the requiredFindingLabelKeys to add. |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
build()
public HybridOptions build()
Returns | |
---|---|
Type | Description |
HybridOptions |
buildPartial()
public HybridOptions buildPartial()
Returns | |
---|---|
Type | Description |
HybridOptions |
clear()
public HybridOptions.Builder clear()
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
clearDescription()
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;
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public HybridOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
clearLabels()
public HybridOptions.Builder clearLabels()
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HybridOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
clearRequiredFindingLabelKeys()
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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
clearTableOptions()
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;
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
clone()
public HybridOptions.Builder clone()
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
containsLabels(String key)
public 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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public HybridOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HybridOptions |
getDescription()
public 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;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public 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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public 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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public 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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getRequiredFindingLabelKeys(int index)
public 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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The requiredFindingLabelKeys at the given index. |
getRequiredFindingLabelKeysBytes(int index)
public 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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the requiredFindingLabelKeys at the given index. |
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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Returns | |
---|---|
Type | Description |
int | The count of requiredFindingLabelKeys. |
getRequiredFindingLabelKeysList()
public 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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the requiredFindingLabelKeys. |
getTableOptions()
public 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;
Returns | |
---|---|
Type | Description |
TableOptions | The tableOptions. |
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.
.google.privacy.dlp.v2.TableOptions table_options = 4;
Returns | |
---|---|
Type | Description |
TableOptions.Builder |
getTableOptionsOrBuilder()
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;
Returns | |
---|---|
Type | Description |
TableOptionsOrBuilder |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the tableOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HybridOptions other)
public HybridOptions.Builder mergeFrom(HybridOptions other)
Parameter | |
---|---|
Name | Description |
other | HybridOptions |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HybridOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HybridOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
mergeTableOptions(TableOptions value)
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;
Parameter | |
---|---|
Name | Description |
value | TableOptions |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HybridOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
putAllLabels(Map<String,String> values)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
putLabels(String key, String value)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
removeLabels(String key)
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?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression (a-z?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
map<string, string> labels = 3;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
setDescription(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public HybridOptions.Builder setDescriptionBytes(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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public HybridOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HybridOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
setRequiredFindingLabelKeys(int index, String value)
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?
.
No more than 10 keys can be required.
repeated string required_finding_label_keys = 2;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The requiredFindingLabelKeys to set. |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder | This builder for chaining. |
setTableOptions(TableOptions value)
public 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;
Parameter | |
---|---|
Name | Description |
value | TableOptions |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
setTableOptions(TableOptions.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | TableOptions.Builder |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HybridOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HybridOptions.Builder |