Class RiskAnalysisJobConfig (3.19.0)

public final class RiskAnalysisJobConfig extends GeneratedMessageV3 implements RiskAnalysisJobConfigOrBuilder

Configuration for a risk analysis job. See https://cloud.google.com/dlp/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
TypeDescription
int

PRIVACY_METRIC_FIELD_NUMBER

public static final int PRIVACY_METRIC_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TABLE_FIELD_NUMBER

public static final int SOURCE_TABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RiskAnalysisJobConfig getDefaultInstance()
Returns
TypeDescription
RiskAnalysisJobConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RiskAnalysisJobConfig prototype)

public static RiskAnalysisJobConfig.Builder newBuilder(RiskAnalysisJobConfig prototype)
Parameter
NameDescription
prototypeRiskAnalysisJobConfig
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

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

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

getDefaultInstanceForType()

public RiskAnalysisJobConfig getDefaultInstanceForType()
Returns
TypeDescription
RiskAnalysisJobConfig

getParserForType()

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

getPrivacyMetric()

public PrivacyMetric getPrivacyMetric()

Privacy metric to compute.

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

Returns
TypeDescription
PrivacyMetric

The privacyMetric.

getPrivacyMetricOrBuilder()

public PrivacyMetricOrBuilder getPrivacyMetricOrBuilder()

Privacy metric to compute.

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

Returns
TypeDescription
PrivacyMetricOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceTable()

public BigQueryTable getSourceTable()

Input dataset to compute metrics over.

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

Returns
TypeDescription
BigQueryTable

The sourceTable.

getSourceTableOrBuilder()

public BigQueryTableOrBuilder getSourceTableOrBuilder()

Input dataset to compute metrics over.

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

Returns
TypeDescription
BigQueryTableOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPrivacyMetric()

public boolean hasPrivacyMetric()

Privacy metric to compute.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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