Package com.google.privacy.dlp.v2
Class RiskAnalysisJobConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RiskAnalysisJobConfig.Builder>
com.google.privacy.dlp.v2.RiskAnalysisJobConfig.Builder
- All Implemented Interfaces:
RiskAnalysisJobConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RiskAnalysisJobConfig
public static final class RiskAnalysisJobConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RiskAnalysisJobConfig.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddActions(int index, Action value) Actions to execute at the completion of the job.addActions(int index, Action.Builder builderForValue) Actions to execute at the completion of the job.addActions(Action value) Actions to execute at the completion of the job.addActions(Action.Builder builderForValue) Actions to execute at the completion of the job.Actions to execute at the completion of the job.addActionsBuilder(int index) Actions to execute at the completion of the job.addAllActions(Iterable<? extends Action> values) Actions to execute at the completion of the job.build()clear()Actions to execute at the completion of the job.Privacy metric to compute.Input dataset to compute metrics over.getActions(int index) Actions to execute at the completion of the job.getActionsBuilder(int index) Actions to execute at the completion of the job.Actions to execute at the completion of the job.intActions to execute at the completion of the job.Actions to execute at the completion of the job.getActionsOrBuilder(int index) Actions to execute at the completion of the job.List<? extends ActionOrBuilder>Actions to execute at the completion of the job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPrivacy metric to compute.Privacy metric to compute.Privacy metric to compute.Input dataset to compute metrics over.Input dataset to compute metrics over.Input dataset to compute metrics over.booleanPrivacy metric to compute.booleanInput dataset to compute metrics over.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RiskAnalysisJobConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePrivacyMetric(PrivacyMetric value) Privacy metric to compute.mergeSourceTable(BigQueryTable value) Input dataset to compute metrics over.removeActions(int index) Actions to execute at the completion of the job.setActions(int index, Action value) Actions to execute at the completion of the job.setActions(int index, Action.Builder builderForValue) Actions to execute at the completion of the job.setPrivacyMetric(PrivacyMetric value) Privacy metric to compute.setPrivacyMetric(PrivacyMetric.Builder builderForValue) Privacy metric to compute.setSourceTable(BigQueryTable value) Input dataset to compute metrics over.setSourceTable(BigQueryTable.Builder builderForValue) Input dataset to compute metrics over.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RiskAnalysisJobConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RiskAnalysisJobConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RiskAnalysisJobConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RiskAnalysisJobConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RiskAnalysisJobConfig.Builder>
-
mergeFrom
public RiskAnalysisJobConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RiskAnalysisJobConfig.Builder>- Throws:
IOException
-
hasPrivacyMetric
public boolean hasPrivacyMetric()Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;- Specified by:
hasPrivacyMetricin interfaceRiskAnalysisJobConfigOrBuilder- Returns:
- Whether the privacyMetric field is set.
-
getPrivacyMetric
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;- Specified by:
getPrivacyMetricin interfaceRiskAnalysisJobConfigOrBuilder- Returns:
- The privacyMetric.
-
setPrivacyMetric
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; -
setPrivacyMetric
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; -
mergePrivacyMetric
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; -
clearPrivacyMetric
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; -
getPrivacyMetricBuilder
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1; -
getPrivacyMetricOrBuilder
Privacy metric to compute.
.google.privacy.dlp.v2.PrivacyMetric privacy_metric = 1;- Specified by:
getPrivacyMetricOrBuilderin interfaceRiskAnalysisJobConfigOrBuilder
-
hasSourceTable
public boolean hasSourceTable()Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2;- Specified by:
hasSourceTablein interfaceRiskAnalysisJobConfigOrBuilder- Returns:
- Whether the sourceTable field is set.
-
getSourceTable
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2;- Specified by:
getSourceTablein interfaceRiskAnalysisJobConfigOrBuilder- Returns:
- The sourceTable.
-
setSourceTable
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2; -
setSourceTable
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2; -
mergeSourceTable
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2; -
clearSourceTable
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2; -
getSourceTableBuilder
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2; -
getSourceTableOrBuilder
Input dataset to compute metrics over.
.google.privacy.dlp.v2.BigQueryTable source_table = 2;- Specified by:
getSourceTableOrBuilderin interfaceRiskAnalysisJobConfigOrBuilder
-
getActionsList
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3;- Specified by:
getActionsListin interfaceRiskAnalysisJobConfigOrBuilder
-
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;- Specified by:
getActionsCountin interfaceRiskAnalysisJobConfigOrBuilder
-
getActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3;- Specified by:
getActionsin interfaceRiskAnalysisJobConfigOrBuilder
-
setActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
setActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
addActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
addActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
addActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
addActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
addAllActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
clearActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
removeActions
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
getActionsBuilder
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
getActionsOrBuilder
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3;- Specified by:
getActionsOrBuilderin interfaceRiskAnalysisJobConfigOrBuilder
-
getActionsOrBuilderList
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3;- Specified by:
getActionsOrBuilderListin interfaceRiskAnalysisJobConfigOrBuilder
-
addActionsBuilder
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
addActionsBuilder
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3; -
getActionsBuilderList
Actions to execute at the completion of the job. Are executed in the order provided.
repeated .google.privacy.dlp.v2.Action actions = 3;
-