Class RiskAnalysisJobConfig (3.58.0)

public final class RiskAnalysisJobConfig extends GeneratedMessageV3 implements RiskAnalysisJobConfigOrBuilder

Configuration for a risk analysis job. See https://cloud.google.com/sensitive-data-protection/docs/concepts-risk-analysis to learn more.

Protobuf type google.privacy.dlp.v2.RiskAnalysisJobConfig

Static Fields

ACTIONS_FIELD_NUMBER

public static final int ACTIONS_FIELD_NUMBER
Field Value
Type Description
int

PRIVACY_METRIC_FIELD_NUMBER

public static final int PRIVACY_METRIC_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_TABLE_FIELD_NUMBER

public static final int SOURCE_TABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RiskAnalysisJobConfig getDefaultInstance()
Returns
Type Description
RiskAnalysisJobConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RiskAnalysisJobConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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. Are executed in the order provided.

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

Parameter
Name Description
index int
Returns
Type Description
Action

getActionsCount()

public int getActionsCount()

Actions to execute at the completion of the job. Are executed in the order provided.

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

Returns
Type Description
int

getActionsList()

public List<Action> getActionsList()

Actions to execute at the completion of the job. Are executed in the order provided.

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

Returns
Type Description
List<Action>

getActionsOrBuilder(int index)

public ActionOrBuilder getActionsOrBuilder(int index)

Actions to execute at the completion of the job. Are executed in the order provided.

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

Parameter
Name Description
index int
Returns
Type Description
ActionOrBuilder

getActionsOrBuilderList()

public List<? extends ActionOrBuilder> getActionsOrBuilderList()

Actions to execute at the completion of the job. Are executed in the order provided.

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

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

getDefaultInstanceForType()

public RiskAnalysisJobConfig getDefaultInstanceForType()
Returns
Type Description
RiskAnalysisJobConfig

getParserForType()

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

getPrivacyMetric()

public PrivacyMetric getPrivacyMetric()

Privacy metric to compute.

.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;

Returns
Type Description
PrivacyMetric

The privacyMetric.

getPrivacyMetricOrBuilder()

public PrivacyMetricOrBuilder getPrivacyMetricOrBuilder()

Privacy metric to compute.

.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;

Returns
Type Description
PrivacyMetricOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceTable()

public BigQueryTable getSourceTable()

Input dataset to compute metrics over.

.google.privacy.dlp.v2.BigQueryTable source_table = 2;

Returns
Type Description
BigQueryTable

The sourceTable.

getSourceTableOrBuilder()

public BigQueryTableOrBuilder getSourceTableOrBuilder()

Input dataset to compute metrics over.

.google.privacy.dlp.v2.BigQueryTable source_table = 2;

Returns
Type Description
BigQueryTableOrBuilder

hasPrivacyMetric()

public boolean hasPrivacyMetric()

Privacy metric to compute.

.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;

Returns
Type Description
boolean

Whether the privacyMetric field is set.

hasSourceTable()

public boolean hasSourceTable()

Input dataset to compute metrics over.

.google.privacy.dlp.v2.BigQueryTable source_table = 2;

Returns
Type Description
boolean

Whether the sourceTable 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 RiskAnalysisJobConfig.Builder newBuilderForType()
Returns
Type Description
RiskAnalysisJobConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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