Class Action.PublishToStackdriver (3.6.7)

public static final class Action.PublishToStackdriver extends GeneratedMessageV3 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

getDefaultInstance()

public static Action.PublishToStackdriver getDefaultInstance()
Returns
TypeDescription
Action.PublishToStackdriver

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Action.PublishToStackdriver.Builder newBuilder()
Returns
TypeDescription
Action.PublishToStackdriver.Builder

newBuilder(Action.PublishToStackdriver prototype)

public static Action.PublishToStackdriver.Builder newBuilder(Action.PublishToStackdriver prototype)
Parameter
NameDescription
prototypeAction.PublishToStackdriver
Returns
TypeDescription
Action.PublishToStackdriver.Builder

parseDelimitedFrom(InputStream input)

public static Action.PublishToStackdriver parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.PublishToStackdriver parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Action.PublishToStackdriver parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Action.PublishToStackdriver parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Action.PublishToStackdriver parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Action.PublishToStackdriver parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Action.PublishToStackdriver parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.PublishToStackdriver parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Action.PublishToStackdriver parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.PublishToStackdriver parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Action.PublishToStackdriver parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Action.PublishToStackdriver parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Action.PublishToStackdriver
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Action.PublishToStackdriver> parser()
Returns
TypeDescription
Parser<PublishToStackdriver>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<Action.PublishToStackdriver> getParserForType()
Returns
TypeDescription
Parser<PublishToStackdriver>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Action.PublishToStackdriver.Builder newBuilderForType()
Returns
TypeDescription
Action.PublishToStackdriver.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.PublishToStackdriver.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Action.PublishToStackdriver.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Action.PublishToStackdriver.Builder toBuilder()
Returns
TypeDescription
Action.PublishToStackdriver.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException