Class Action.SaveFindings.Builder (3.50.0)

public static final class Action.SaveFindings.Builder extends GeneratedMessageV3.Builder<Action.SaveFindings.Builder> implements Action.SaveFindingsOrBuilder

If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk

Protobuf type google.privacy.dlp.v2.Action.SaveFindings

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.SaveFindings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.SaveFindings.Builder
Overrides

build()

public Action.SaveFindings build()
Returns
Type Description
Action.SaveFindings

buildPartial()

public Action.SaveFindings buildPartial()
Returns
Type Description
Action.SaveFindings

clear()

public Action.SaveFindings.Builder clear()
Returns
Type Description
Action.SaveFindings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Action.SaveFindings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Action.SaveFindings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.SaveFindings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.SaveFindings.Builder
Overrides

clearOutputConfig()

public Action.SaveFindings.Builder clearOutputConfig()

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Returns
Type Description
Action.SaveFindings.Builder

clone()

public Action.SaveFindings.Builder clone()
Returns
Type Description
Action.SaveFindings.Builder
Overrides

getDefaultInstanceForType()

public Action.SaveFindings getDefaultInstanceForType()
Returns
Type Description
Action.SaveFindings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOutputConfig()

public OutputStorageConfig getOutputConfig()

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Returns
Type Description
OutputStorageConfig

The outputConfig.

getOutputConfigBuilder()

public OutputStorageConfig.Builder getOutputConfigBuilder()

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Returns
Type Description
OutputStorageConfig.Builder

getOutputConfigOrBuilder()

public OutputStorageConfigOrBuilder getOutputConfigOrBuilder()

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Returns
Type Description
OutputStorageConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Returns
Type Description
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.SaveFindings other)

public Action.SaveFindings.Builder mergeFrom(Action.SaveFindings other)
Parameter
Name Description
other Action.SaveFindings
Returns
Type Description
Action.SaveFindings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.SaveFindings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.SaveFindings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Action.SaveFindings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Action.SaveFindings.Builder
Overrides

mergeOutputConfig(OutputStorageConfig value)

public Action.SaveFindings.Builder mergeOutputConfig(OutputStorageConfig value)

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Parameter
Name Description
value OutputStorageConfig
Returns
Type Description
Action.SaveFindings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.SaveFindings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.SaveFindings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Action.SaveFindings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.SaveFindings.Builder
Overrides

setOutputConfig(OutputStorageConfig value)

public Action.SaveFindings.Builder setOutputConfig(OutputStorageConfig value)

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Parameter
Name Description
value OutputStorageConfig
Returns
Type Description
Action.SaveFindings.Builder

setOutputConfig(OutputStorageConfig.Builder builderForValue)

public Action.SaveFindings.Builder setOutputConfig(OutputStorageConfig.Builder builderForValue)

Location to store findings outside of DLP.

.google.privacy.dlp.v2.OutputStorageConfig output_config = 1;

Parameter
Name Description
builderForValue OutputStorageConfig.Builder
Returns
Type Description
Action.SaveFindings.Builder

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

public Action.SaveFindings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.SaveFindings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.SaveFindings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.SaveFindings.Builder
Overrides