Class HybridOptions (3.6.4)

public final class HybridOptions extends GeneratedMessageV3 implements HybridOptionsOrBuilder

Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.

Protobuf type google.privacy.dlp.v2.HybridOptions

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER

public static final int REQUIRED_FINDING_LABEL_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_OPTIONS_FIELD_NUMBER

public static final int TABLE_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HybridOptions getDefaultInstance()
Returns
TypeDescription
HybridOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HybridOptions.Builder newBuilder()
Returns
TypeDescription
HybridOptions.Builder

newBuilder(HybridOptions prototype)

public static HybridOptions.Builder newBuilder(HybridOptions prototype)
Parameter
NameDescription
prototypeHybridOptions
Returns
TypeDescription
HybridOptions.Builder

parseDelimitedFrom(InputStream input)

public static HybridOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HybridOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HybridOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HybridOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HybridOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HybridOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HybridOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HybridOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HybridOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HybridOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HybridOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HybridOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HybridOptions> parser()
Returns
TypeDescription
Parser<HybridOptions>

Methods

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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HybridOptions getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<HybridOptions> getParserForType()
Returns
TypeDescription
Parser<HybridOptions>
Overrides

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the requiredFindingLabelKeys.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
TableOptions

The tableOptions.

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
TypeDescription
TableOptionsOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
boolean

Whether the tableOptions field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HybridOptions.Builder newBuilderForType()
Returns
TypeDescription
HybridOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HybridOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HybridOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HybridOptions.Builder toBuilder()
Returns
TypeDescription
HybridOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException