Class Action.SaveFindings.Builder (3.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Action.SaveFindings build()
Returns
TypeDescription
Action.SaveFindings

buildPartial()

public Action.SaveFindings buildPartial()
Returns
TypeDescription
Action.SaveFindings

clear()

public Action.SaveFindings.Builder clear()
Returns
TypeDescription
Action.SaveFindings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.SaveFindings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Action.SaveFindings.Builder

clone()

public Action.SaveFindings.Builder clone()
Returns
TypeDescription
Action.SaveFindings.Builder
Overrides

getDefaultInstanceForType()

public Action.SaveFindings getDefaultInstanceForType()
Returns
TypeDescription
Action.SaveFindings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutputConfig()

public OutputStorageConfig getOutputConfig()

Location to store findings outside of DLP.

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

Returns
TypeDescription
OutputStorageConfig

The outputConfig.

getOutputConfigBuilder()

public OutputStorageConfig.Builder getOutputConfigBuilder()

Location to store findings outside of DLP.

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

Returns
TypeDescription
OutputStorageConfig.Builder

getOutputConfigOrBuilder()

public OutputStorageConfigOrBuilder getOutputConfigOrBuilder()

Location to store findings outside of DLP.

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

Returns
TypeDescription
OutputStorageConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Location to store findings outside of DLP.

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

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Action.SaveFindings other)

public Action.SaveFindings.Builder mergeFrom(Action.SaveFindings other)
Parameter
NameDescription
otherAction.SaveFindings
Returns
TypeDescription
Action.SaveFindings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Action.SaveFindings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOutputStorageConfig
Returns
TypeDescription
Action.SaveFindings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Action.SaveFindings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueOutputStorageConfig
Returns
TypeDescription
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
NameDescription
builderForValueOutputStorageConfig.Builder
Returns
TypeDescription
Action.SaveFindings.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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