Class DataProfileLocation.Builder (3.53.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfileLocation.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DataProfileLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfileLocation.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileLocation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataProfileLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataProfileLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfileLocation.Builder
Overrides