public static final class DataProfilePubSubMessage.Builder extends GeneratedMessageV3.Builder<DataProfilePubSubMessage.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataProfilePubSubMessage build()
buildPartial()
public DataProfilePubSubMessage buildPartial()
clear()
public DataProfilePubSubMessage.Builder clear()
Overrides
clearEvent()
public DataProfilePubSubMessage.Builder clearEvent()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;
clearField(Descriptors.FieldDescriptor field)
public DataProfilePubSubMessage.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfilePubSubMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProfile()
public DataProfilePubSubMessage.Builder clearProfile()
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;
clone()
public DataProfilePubSubMessage.Builder clone()
Overrides
getDefaultInstanceForType()
public DataProfilePubSubMessage getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEvent()
public DataProfileAction.EventType getEvent()
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;
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.
|
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;
getProfileBuilder()
public TableDataProfile.Builder getProfileBuilder()
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;
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataProfilePubSubMessage other)
public DataProfilePubSubMessage.Builder mergeFrom(DataProfilePubSubMessage other)
public DataProfilePubSubMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataProfilePubSubMessage.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeProfile(TableDataProfile value)
public DataProfilePubSubMessage.Builder mergeProfile(TableDataProfile value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEvent(DataProfileAction.EventType value)
public DataProfilePubSubMessage.Builder setEvent(DataProfileAction.EventType value)
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;
setEventValue(int value)
public DataProfilePubSubMessage.Builder setEventValue(int value)
The event that caused the Pub/Sub message to be sent.
.google.privacy.dlp.v2.DataProfileAction.EventType event = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for event to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProfile(TableDataProfile value)
public DataProfilePubSubMessage.Builder setProfile(TableDataProfile value)
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;
setProfile(TableDataProfile.Builder builderForValue)
public DataProfilePubSubMessage.Builder setProfile(TableDataProfile.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfilePubSubMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides