public static final class DataProfileLocation.Builder extends GeneratedMessage.Builder<DataProfileLocation.Builder> implements DataProfileLocationOrBuilderThe data that will be profiled.
Protobuf type google.privacy.dlp.v2.DataProfileLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataProfileLocation.BuilderImplements
DataProfileLocationOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataProfileLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataProfileLocation.Builder |
|
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 |
longThe 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 |
longThe organizationId to set. |
| Returns | |
|---|---|
| Type | Description |
DataProfileLocation.Builder |
This builder for chaining. |