Class Action.PublishToStackdriver.Builder (3.47.0)

public static final class Action.PublishToStackdriver.Builder extends GeneratedMessageV3.Builder<Action.PublishToStackdriver.Builder> implements Action.PublishToStackdriverOrBuilder

Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.PublishToStackdriver other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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