Class Action.PublishToStackdriver.Builder (3.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Action.PublishToStackdriver other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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