Class InspectJobConfig (3.7.2)

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

INSPECT_CONFIG_FIELD_NUMBER

public static final int INSPECT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

INSPECT_TEMPLATE_NAME_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_CONFIG_FIELD_NUMBER

public static final int STORAGE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InspectJobConfig getDefaultInstance()
Returns
TypeDescription
InspectJobConfig

getDescriptor()

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

newBuilder()

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

newBuilder(InspectJobConfig prototype)

public static InspectJobConfig.Builder newBuilder(InspectJobConfig prototype)
Parameter
NameDescription
prototypeInspectJobConfig
Returns
TypeDescription
InspectJobConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Action

getActionsCount()

public int getActionsCount()

Actions to execute at the completion of the job.

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

Returns
TypeDescription
int

getActionsList()

public List<Action> getActionsList()

Actions to execute at the completion of the job.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.ActionOrBuilder>

getDefaultInstanceForType()

public InspectJobConfig getDefaultInstanceForType()
Returns
TypeDescription
InspectJobConfig

getInspectConfig()

public InspectConfig getInspectConfig()

How and what to scan for.

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

Returns
TypeDescription
InspectConfig

The inspectConfig.

getInspectConfigOrBuilder()

public InspectConfigOrBuilder getInspectConfigOrBuilder()

How and what to scan for.

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

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

The bytes for inspectTemplateName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStorageConfig()

public StorageConfig getStorageConfig()

The data to scan.

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

Returns
TypeDescription
StorageConfig

The storageConfig.

getStorageConfigOrBuilder()

public StorageConfigOrBuilder getStorageConfigOrBuilder()

The data to scan.

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

Returns
TypeDescription
StorageConfigOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasInspectConfig()

public boolean hasInspectConfig()

How and what to scan for.

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

Returns
TypeDescription
boolean

Whether the inspectConfig field is set.

hasStorageConfig()

public boolean hasStorageConfig()

The data to scan.

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

Returns
TypeDescription
boolean

Whether the storageConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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