Send feedback
Class DataProfilePubSubMessage.Builder (3.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.6.1 keyboard_arrow_down
public static final class DataProfilePubSubMessage . Builder extends GeneratedMessageV3 . Builder<DataProfilePubSubMessage . Builder > implements DataProfilePubSubMessageOrBuilder
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubMessage . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DataProfilePubSubMessage build ()
Returns
buildPartial()
public DataProfilePubSubMessage buildPartial ()
Returns
clear()
public DataProfilePubSubMessage . Builder clear ()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public DataProfilePubSubMessage . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfilePubSubMessage . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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;
Returns
clone()
public DataProfilePubSubMessage . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public DataProfilePubSubMessage getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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;
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.
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
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;
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(DataProfilePubSubMessage other)
public DataProfilePubSubMessage . Builder mergeFrom ( DataProfilePubSubMessage other )
Parameter
Returns
public DataProfilePubSubMessage . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataProfilePubSubMessage . Builder mergeFrom ( Message other )
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubMessage . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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;
Parameter
Returns
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.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfilePubSubMessage . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfilePubSubMessage . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfilePubSubMessage . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]