Class InspectJobConfig (3.49.0)

public final class InspectJobConfig extends GeneratedMessageV3 implements InspectJobConfigOrBuilder

Controls what and how to inspect for findings.

Protobuf type google.privacy.dlp.v2.InspectJobConfig

Static Fields

ACTIONS_FIELD_NUMBER

public static final int ACTIONS_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_CONFIG_FIELD_NUMBER

public static final int INSPECT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_TEMPLATE_NAME_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_CONFIG_FIELD_NUMBER

public static final int STORAGE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InspectJobConfig getDefaultInstance()
Returns
Type Description
InspectJobConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InspectJobConfig.Builder newBuilder()
Returns
Type Description
InspectJobConfig.Builder

newBuilder(InspectJobConfig prototype)

public static InspectJobConfig.Builder newBuilder(InspectJobConfig prototype)
Parameter
Name Description
prototype InspectJobConfig
Returns
Type Description
InspectJobConfig.Builder

parseDelimitedFrom(InputStream input)

public static InspectJobConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectJobConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InspectJobConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InspectJobConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InspectJobConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InspectJobConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InspectJobConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectJobConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InspectJobConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InspectJobConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InspectJobConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InspectJobConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InspectJobConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InspectJobConfig> parser()
Returns
Type Description
Parser<InspectJobConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActions(int index)

public Action getActions(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
Action

getActionsCount()

public int getActionsCount()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
int

getActionsList()

public List<Action> getActionsList()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
List<Action>

getActionsOrBuilder(int index)

public ActionOrBuilder getActionsOrBuilder(int index)

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Parameter
Name Description
index int
Returns
Type Description
ActionOrBuilder

getActionsOrBuilderList()

public List<? extends ActionOrBuilder> getActionsOrBuilderList()

Actions to execute at the completion of the job.

repeated .google.privacy.dlp.v2.Action actions = 4;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.ActionOrBuilder>

getDefaultInstanceForType()

public InspectJobConfig getDefaultInstanceForType()
Returns
Type Description
InspectJobConfig

getInspectConfig()

public InspectConfig getInspectConfig()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
InspectConfig

The inspectConfig.

getInspectConfigOrBuilder()

public InspectConfigOrBuilder getInspectConfigOrBuilder()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
InspectConfigOrBuilder

getInspectTemplateName()

public String getInspectTemplateName()

If provided, will be used as the default for all values in InspectConfig. inspect_config will be merged into the values persisted as part of the template.

string inspect_template_name = 3;

Returns
Type Description
String

The inspectTemplateName.

getInspectTemplateNameBytes()

public ByteString getInspectTemplateNameBytes()

If provided, will be used as the default for all values in InspectConfig. inspect_config will be merged into the values persisted as part of the template.

string inspect_template_name = 3;

Returns
Type Description
ByteString

The bytes for inspectTemplateName.

getParserForType()

public Parser<InspectJobConfig> getParserForType()
Returns
Type Description
Parser<InspectJobConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStorageConfig()

public StorageConfig getStorageConfig()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
StorageConfig

The storageConfig.

getStorageConfigOrBuilder()

public StorageConfigOrBuilder getStorageConfigOrBuilder()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
StorageConfigOrBuilder

hasInspectConfig()

public boolean hasInspectConfig()

How and what to scan for.

.google.privacy.dlp.v2.InspectConfig inspect_config = 2;

Returns
Type Description
boolean

Whether the inspectConfig field is set.

hasStorageConfig()

public boolean hasStorageConfig()

The data to scan.

.google.privacy.dlp.v2.StorageConfig storage_config = 1;

Returns
Type Description
boolean

Whether the storageConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InspectJobConfig.Builder newBuilderForType()
Returns
Type Description
InspectJobConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InspectJobConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InspectJobConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InspectJobConfig.Builder toBuilder()
Returns
Type Description
InspectJobConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException