public final class DataProfilePubSubMessage extends GeneratedMessageV3 implements DataProfilePubSubMessageOrBuilder
Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
To receive a message of protocol buffer schema type, convert the message data
to an object of this proto class.
Protobuf type google.privacy.dlp.v2.DataProfilePubSubMessage
Static Fields
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
Field Value
PROFILE_FIELD_NUMBER
public static final int PROFILE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataProfilePubSubMessage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataProfilePubSubMessage.Builder newBuilder()
Returns
newBuilder(DataProfilePubSubMessage prototype)
public static DataProfilePubSubMessage.Builder newBuilder(DataProfilePubSubMessage prototype)
Parameter
Returns
public static DataProfilePubSubMessage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataProfilePubSubMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataProfilePubSubMessage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProfilePubSubMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataProfilePubSubMessage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProfilePubSubMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataProfilePubSubMessage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataProfilePubSubMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataProfilePubSubMessage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataProfilePubSubMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataProfilePubSubMessage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProfilePubSubMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataProfilePubSubMessage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataProfilePubSubMessage getDefaultInstanceForType()
Returns
getEvent()
public DataProfileAction.EventType getEvent()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;
Returns
getEventValue()
public int getEventValue()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for event.
|
getParserForType()
public Parser<DataProfilePubSubMessage> getParserForType()
Returns
Overrides
getProfile()
public TableDataProfile getProfile()
If DetailLevel
is TABLE_PROFILE
this will be fully populated.
Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and
full_resource
will be populated.
.google.privacy.dlp.v2.TableDataProfile profile = 1;
Returns
getProfileOrBuilder()
public TableDataProfileOrBuilder getProfileOrBuilder()
If DetailLevel
is TABLE_PROFILE
this will be fully populated.
Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and
full_resource
will be populated.
.google.privacy.dlp.v2.TableDataProfile profile = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasProfile()
public boolean hasProfile()
If DetailLevel
is TABLE_PROFILE
this will be fully populated.
Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and
full_resource
will be populated.
.google.privacy.dlp.v2.TableDataProfile profile = 1;
Returns
Type | Description |
boolean | Whether the profile field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataProfilePubSubMessage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataProfilePubSubMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataProfilePubSubMessage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions