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
INSPECT_CONFIG_FIELD_NUMBER
public static final int INSPECT_CONFIG_FIELD_NUMBER
Field Value
INSPECT_TEMPLATE_NAME_FIELD_NUMBER
public static final int INSPECT_TEMPLATE_NAME_FIELD_NUMBER
Field Value
STORAGE_CONFIG_FIELD_NUMBER
public static final int STORAGE_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InspectJobConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InspectJobConfig.Builder newBuilder()
Returns
newBuilder(InspectJobConfig prototype)
public static InspectJobConfig.Builder newBuilder(InspectJobConfig prototype)
Parameter
Returns
public static InspectJobConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InspectJobConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InspectJobConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InspectJobConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InspectJobConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InspectJobConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InspectJobConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InspectJobConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InspectJobConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InspectJobConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InspectJobConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InspectJobConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InspectJobConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getActionsCount()
public int getActionsCount()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
Returns
getActionsList()
public List<Action> getActionsList()
Actions to execute at the completion of the job.
repeated .google.privacy.dlp.v2.Action actions = 4;
Returns
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
Returns
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
getInspectConfig()
public InspectConfig getInspectConfig()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns
getInspectConfigOrBuilder()
public InspectConfigOrBuilder getInspectConfigOrBuilder()
How and what to scan for.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStorageConfig()
public StorageConfig getStorageConfig()
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
Returns
getStorageConfigOrBuilder()
public StorageConfigOrBuilder getStorageConfigOrBuilder()
The data to scan.
.google.privacy.dlp.v2.StorageConfig storage_config = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InspectJobConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InspectJobConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InspectJobConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions