public static final class CloudDlpDataProfile.Builder extends GeneratedMessageV3.Builder<CloudDlpDataProfile.Builder> implements CloudDlpDataProfileOrBuilder
The data profile
associated with the finding.
Protobuf type google.cloud.securitycenter.v1.CloudDlpDataProfile
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 CloudDlpDataProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudDlpDataProfile build()
buildPartial()
public CloudDlpDataProfile buildPartial()
clear()
public CloudDlpDataProfile.Builder clear()
Overrides
clearDataProfile()
public CloudDlpDataProfile.Builder clearDataProfile()
Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929
.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public CloudDlpDataProfile.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudDlpDataProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParentType()
public CloudDlpDataProfile.Builder clearParentType()
The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
clone()
public CloudDlpDataProfile.Builder clone()
Overrides
getDataProfile()
public String getDataProfile()
Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929
.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The dataProfile.
|
getDataProfileBytes()
public ByteString getDataProfileBytes()
Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929
.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for dataProfile.
|
getDefaultInstanceForType()
public CloudDlpDataProfile getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParentType()
public CloudDlpDataProfile.ParentType getParentType()
The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
getParentTypeValue()
public int getParentTypeValue()
The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for parentType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CloudDlpDataProfile other)
public CloudDlpDataProfile.Builder mergeFrom(CloudDlpDataProfile other)
public CloudDlpDataProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudDlpDataProfile.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudDlpDataProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataProfile(String value)
public CloudDlpDataProfile.Builder setDataProfile(String value)
Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929
.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The dataProfile to set.
|
setDataProfileBytes(ByteString value)
public CloudDlpDataProfile.Builder setDataProfileBytes(ByteString value)
Name of the data profile, for example,
projects/123/locations/europe/tableProfiles/8383929
.
string data_profile = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for dataProfile to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloudDlpDataProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParentType(CloudDlpDataProfile.ParentType value)
public CloudDlpDataProfile.Builder setParentType(CloudDlpDataProfile.ParentType value)
The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
setParentTypeValue(int value)
public CloudDlpDataProfile.Builder setParentTypeValue(int value)
The resource hierarchy level at which the data profile was generated.
.google.cloud.securitycenter.v1.CloudDlpDataProfile.ParentType parent_type = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for parentType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudDlpDataProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudDlpDataProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides