Class RiskAnalysisJobConfig.Builder (3.37.0)

public static final class RiskAnalysisJobConfig.Builder extends GeneratedMessageV3.Builder<RiskAnalysisJobConfig.Builder> 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 Methods

getDescriptor()

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

Methods

addActions(Action value)

public RiskAnalysisJobConfig.Builder addActions(Action value)

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
valueAction
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

addActions(Action.Builder builderForValue)

public RiskAnalysisJobConfig.Builder addActions(Action.Builder builderForValue)

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
builderForValueAction.Builder
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

addActions(int index, Action value)

public RiskAnalysisJobConfig.Builder addActions(int index, Action value)

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

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

Parameters
NameDescription
indexint
valueAction
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

addActions(int index, Action.Builder builderForValue)

public RiskAnalysisJobConfig.Builder addActions(int index, Action.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueAction.Builder
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

addActionsBuilder()

public Action.Builder addActionsBuilder()

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
Action.Builder

addActionsBuilder(int index)

public Action.Builder addActionsBuilder(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.Builder

addAllActions(Iterable<? extends Action> values)

public RiskAnalysisJobConfig.Builder addAllActions(Iterable<? extends Action> values)

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
valuesIterable<? extends com.google.privacy.dlp.v2.Action>
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RiskAnalysisJobConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

build()

public RiskAnalysisJobConfig build()
Returns
TypeDescription
RiskAnalysisJobConfig

buildPartial()

public RiskAnalysisJobConfig buildPartial()
Returns
TypeDescription
RiskAnalysisJobConfig

clear()

public RiskAnalysisJobConfig.Builder clear()
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

clearActions()

public RiskAnalysisJobConfig.Builder clearActions()

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
RiskAnalysisJobConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RiskAnalysisJobConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RiskAnalysisJobConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

clearPrivacyMetric()

public RiskAnalysisJobConfig.Builder clearPrivacyMetric()

Privacy metric to compute.

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

Returns
TypeDescription
RiskAnalysisJobConfig.Builder

clearSourceTable()

public RiskAnalysisJobConfig.Builder clearSourceTable()

Input dataset to compute metrics over.

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

Returns
TypeDescription
RiskAnalysisJobConfig.Builder

clone()

public RiskAnalysisJobConfig.Builder clone()
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
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

getActionsBuilder(int index)

public Action.Builder getActionsBuilder(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.Builder

getActionsBuilderList()

public List<Action.Builder> getActionsBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPrivacyMetric()

public PrivacyMetric getPrivacyMetric()

Privacy metric to compute.

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

Returns
TypeDescription
PrivacyMetric

The privacyMetric.

getPrivacyMetricBuilder()

public PrivacyMetric.Builder getPrivacyMetricBuilder()

Privacy metric to compute.

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

Returns
TypeDescription
PrivacyMetric.Builder

getPrivacyMetricOrBuilder()

public PrivacyMetricOrBuilder getPrivacyMetricOrBuilder()

Privacy metric to compute.

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

Returns
TypeDescription
PrivacyMetricOrBuilder

getSourceTable()

public BigQueryTable getSourceTable()

Input dataset to compute metrics over.

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

Returns
TypeDescription
BigQueryTable

The sourceTable.

getSourceTableBuilder()

public BigQueryTable.Builder getSourceTableBuilder()

Input dataset to compute metrics over.

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

Returns
TypeDescription
BigQueryTable.Builder

getSourceTableOrBuilder()

public BigQueryTableOrBuilder getSourceTableOrBuilder()

Input dataset to compute metrics over.

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

Returns
TypeDescription
BigQueryTableOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RiskAnalysisJobConfig other)

public RiskAnalysisJobConfig.Builder mergeFrom(RiskAnalysisJobConfig other)
Parameter
NameDescription
otherRiskAnalysisJobConfig
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RiskAnalysisJobConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RiskAnalysisJobConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

mergePrivacyMetric(PrivacyMetric value)

public RiskAnalysisJobConfig.Builder mergePrivacyMetric(PrivacyMetric value)

Privacy metric to compute.

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

Parameter
NameDescription
valuePrivacyMetric
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

mergeSourceTable(BigQueryTable value)

public RiskAnalysisJobConfig.Builder mergeSourceTable(BigQueryTable value)

Input dataset to compute metrics over.

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

Parameter
NameDescription
valueBigQueryTable
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RiskAnalysisJobConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

removeActions(int index)

public RiskAnalysisJobConfig.Builder removeActions(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
RiskAnalysisJobConfig.Builder

setActions(int index, Action value)

public RiskAnalysisJobConfig.Builder setActions(int index, Action value)

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

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

Parameters
NameDescription
indexint
valueAction
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

setActions(int index, Action.Builder builderForValue)

public RiskAnalysisJobConfig.Builder setActions(int index, Action.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueAction.Builder
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RiskAnalysisJobConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

setPrivacyMetric(PrivacyMetric value)

public RiskAnalysisJobConfig.Builder setPrivacyMetric(PrivacyMetric value)

Privacy metric to compute.

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

Parameter
NameDescription
valuePrivacyMetric
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

setPrivacyMetric(PrivacyMetric.Builder builderForValue)

public RiskAnalysisJobConfig.Builder setPrivacyMetric(PrivacyMetric.Builder builderForValue)

Privacy metric to compute.

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

Parameter
NameDescription
builderForValuePrivacyMetric.Builder
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RiskAnalysisJobConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides

setSourceTable(BigQueryTable value)

public RiskAnalysisJobConfig.Builder setSourceTable(BigQueryTable value)

Input dataset to compute metrics over.

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

Parameter
NameDescription
valueBigQueryTable
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

setSourceTable(BigQueryTable.Builder builderForValue)

public RiskAnalysisJobConfig.Builder setSourceTable(BigQueryTable.Builder builderForValue)

Input dataset to compute metrics over.

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

Parameter
NameDescription
builderForValueBigQueryTable.Builder
Returns
TypeDescription
RiskAnalysisJobConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RiskAnalysisJobConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RiskAnalysisJobConfig.Builder
Overrides