public static final class DiscoveryStartingLocation.Builder extends GeneratedMessage.Builder<DiscoveryStartingLocation.Builder> implements DiscoveryStartingLocationOrBuilderThe location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
Protobuf type google.privacy.dlp.v2.DiscoveryStartingLocation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DiscoveryStartingLocation.BuilderImplements
DiscoveryStartingLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DiscoveryStartingLocation build()| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation |
|
buildPartial()
public DiscoveryStartingLocation buildPartial()| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation |
|
clear()
public DiscoveryStartingLocation.Builder clear()| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
|
clearFolderId()
public DiscoveryStartingLocation.Builder clearFolderId()The ID of the folder within an organization to be scanned.
int64 folder_id = 2;
| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
This builder for chaining. |
clearLocation()
public DiscoveryStartingLocation.Builder clearLocation()| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
|
clearOrganizationId()
public DiscoveryStartingLocation.Builder clearOrganizationId()The ID of an organization to scan.
int64 organization_id = 1;
| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DiscoveryStartingLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFolderId()
public long getFolderId()The ID of the folder within an organization to be scanned.
int64 folder_id = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The folderId. |
getLocationCase()
public DiscoveryStartingLocation.LocationCase getLocationCase()| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.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 be scanned.
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(DiscoveryStartingLocation other)
public DiscoveryStartingLocation.Builder mergeFrom(DiscoveryStartingLocation other)| Parameter | |
|---|---|
| Name | Description |
other |
DiscoveryStartingLocation |
| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryStartingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DiscoveryStartingLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
|
setFolderId(long value)
public DiscoveryStartingLocation.Builder setFolderId(long value)The ID of the folder within an organization to be scanned.
int64 folder_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe folderId to set. |
| Returns | |
|---|---|
| Type | Description |
DiscoveryStartingLocation.Builder |
This builder for chaining. |
setOrganizationId(long value)
public DiscoveryStartingLocation.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 |
DiscoveryStartingLocation.Builder |
This builder for chaining. |