Class DataProfileLocation.Builder (3.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfileLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

build()

public DataProfileLocation build()
Returns
TypeDescription
DataProfileLocation

buildPartial()

public DataProfileLocation buildPartial()
Returns
TypeDescription
DataProfileLocation

clear()

public DataProfileLocation.Builder clear()
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataProfileLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

clearFolderId()

public DataProfileLocation.Builder clearFolderId()

The ID of the Folder within an organization to scan.

int64 folder_id = 2;

Returns
TypeDescription
DataProfileLocation.Builder

This builder for chaining.

clearLocation()

public DataProfileLocation.Builder clearLocation()
Returns
TypeDescription
DataProfileLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfileLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

clearOrganizationId()

public DataProfileLocation.Builder clearOrganizationId()

The ID of an organization to scan.

int64 organization_id = 1;

Returns
TypeDescription
DataProfileLocation.Builder

This builder for chaining.

clone()

public DataProfileLocation.Builder clone()
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

getDefaultInstanceForType()

public DataProfileLocation getDefaultInstanceForType()
Returns
TypeDescription
DataProfileLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFolderId()

public long getFolderId()

The ID of the Folder within an organization to scan.

int64 folder_id = 2;

Returns
TypeDescription
long

The folderId.

getLocationCase()

public DataProfileLocation.LocationCase getLocationCase()
Returns
TypeDescription
DataProfileLocation.LocationCase

getOrganizationId()

public long getOrganizationId()

The ID of an organization to scan.

int64 organization_id = 1;

Returns
TypeDescription
long

The organizationId.

hasFolderId()

public boolean hasFolderId()

The ID of the Folder within an organization to scan.

int64 folder_id = 2;

Returns
TypeDescription
boolean

Whether the folderId field is set.

hasOrganizationId()

public boolean hasOrganizationId()

The ID of an organization to scan.

int64 organization_id = 1;

Returns
TypeDescription
boolean

Whether the organizationId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataProfileLocation other)

public DataProfileLocation.Builder mergeFrom(DataProfileLocation other)
Parameter
NameDescription
otherDataProfileLocation
Returns
TypeDescription
DataProfileLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfileLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfileLocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataProfileLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfileLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The folderId to set.

Returns
TypeDescription
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
NameDescription
valuelong

The organizationId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfileLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfileLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfileLocation.Builder
Overrides