Class DataProfileLocation.Builder (3.87.0)

public static final class DataProfileLocation.Builder extends GeneratedMessage.Builder<DataProfileLocation.Builder> implements DataProfileLocationOrBuilder

The data that will be profiled.

Protobuf type google.privacy.dlp.v2.DataProfileLocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DataProfileLocation build()
Returns
Type Description
DataProfileLocation

buildPartial()

public DataProfileLocation buildPartial()
Returns
Type Description
DataProfileLocation

clear()

public DataProfileLocation.Builder clear()
Returns
Type Description
DataProfileLocation.Builder
Overrides

clearFolderId()

public DataProfileLocation.Builder clearFolderId()

The ID of the folder within an organization to scan.

int64 folder_id = 2;

Returns
Type Description
DataProfileLocation.Builder

This builder for chaining.

clearLocation()

public DataProfileLocation.Builder clearLocation()
Returns
Type Description
DataProfileLocation.Builder

clearOrganizationId()

public DataProfileLocation.Builder clearOrganizationId()

The ID of an organization to scan.

int64 organization_id = 1;

Returns
Type Description
DataProfileLocation.Builder

This builder for chaining.

getDefaultInstanceForType()

public DataProfileLocation getDefaultInstanceForType()
Returns
Type Description
DataProfileLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
DataProfileLocation.LocationCase

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataProfileLocation other)

public DataProfileLocation.Builder mergeFrom(DataProfileLocation other)
Parameter
Name Description
other DataProfileLocation
Returns
Type Description
DataProfileLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfileLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataProfileLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataProfileLocation.Builder
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.

Returns
Type Description
DataProfileLocation.Builder

This builder for chaining.

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.

Returns
Type Description
DataProfileLocation.Builder

This builder for chaining.