public static final class DataProfileLocation.Builder extends GeneratedMessageV3.Builder<DataProfileLocation.Builder> implements DataProfileLocationOrBuilder
The data that will be profiled.
Protobuf type google.privacy.dlp.v2.DataProfileLocation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 DataProfileLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataProfileLocation build()
buildPartial()
public DataProfileLocation buildPartial()
clear()
public DataProfileLocation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DataProfileLocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFolderId()
public DataProfileLocation.Builder clearFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
clearLocation()
public DataProfileLocation.Builder clearLocation()
clearOneof(Descriptors.OneofDescriptor oneof)
public DataProfileLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOrganizationId()
public DataProfileLocation.Builder clearOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
clone()
public DataProfileLocation.Builder clone()
Overrides
getDefaultInstanceForType()
public DataProfileLocation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFolderId()
public long getFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
Returns |
Type |
Description |
long |
The folderId.
|
getLocationCase()
public DataProfileLocation.LocationCase getLocationCase()
getOrganizationId()
public long getOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
Returns |
Type |
Description |
long |
The organizationId.
|
hasFolderId()
public boolean hasFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
Returns |
Type |
Description |
boolean |
Whether the folderId field is set.
|
hasOrganizationId()
public boolean hasOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
Returns |
Type |
Description |
boolean |
Whether the organizationId field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataProfileLocation other)
public DataProfileLocation.Builder mergeFrom(DataProfileLocation other)
public DataProfileLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataProfileLocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DataProfileLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFolderId(long value)
public DataProfileLocation.Builder setFolderId(long value)
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
Parameter |
Name |
Description |
value |
long
The folderId to set.
|
setOrganizationId(long value)
public DataProfileLocation.Builder setOrganizationId(long value)
The ID of an organization to scan.
int64 organization_id = 1;
Parameter |
Name |
Description |
value |
long
The organizationId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataProfileLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataProfileLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides