Class CustomInfoType.DetectionRule.Proximity (3.47.0)

public static final class CustomInfoType.DetectionRule.Proximity extends GeneratedMessageV3 implements CustomInfoType.DetectionRule.ProximityOrBuilder

Message for specifying a window around a finding to apply a detection rule.

Protobuf type google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomInfoType.DetectionRule.Proximity

Static Fields

WINDOW_AFTER_FIELD_NUMBER

public static final int WINDOW_AFTER_FIELD_NUMBER
Field Value
Type Description
int

WINDOW_BEFORE_FIELD_NUMBER

public static final int WINDOW_BEFORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomInfoType.DetectionRule.Proximity getDefaultInstance()
Returns
Type Description
CustomInfoType.DetectionRule.Proximity

getDescriptor()

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

newBuilder()

public static CustomInfoType.DetectionRule.Proximity.Builder newBuilder()
Returns
Type Description
CustomInfoType.DetectionRule.Proximity.Builder

newBuilder(CustomInfoType.DetectionRule.Proximity prototype)

public static CustomInfoType.DetectionRule.Proximity.Builder newBuilder(CustomInfoType.DetectionRule.Proximity prototype)
Parameter
Name Description
prototype CustomInfoType.DetectionRule.Proximity
Returns
Type Description
CustomInfoType.DetectionRule.Proximity.Builder

parseDelimitedFrom(InputStream input)

public static CustomInfoType.DetectionRule.Proximity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.DetectionRule.Proximity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomInfoType.DetectionRule.Proximity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.DetectionRule.Proximity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomInfoType.DetectionRule.Proximity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.DetectionRule.Proximity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomInfoType.DetectionRule.Proximity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomInfoType.DetectionRule.Proximity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.DetectionRule.Proximity
Exceptions
Type Description