public static final class DiscoveryStartingLocation.Builder extends GeneratedMessageV3.Builder<DiscoveryStartingLocation.Builder> implements DiscoveryStartingLocationOrBuilder
The location to begin a discovery scan. Denotes an organization ID or folder
ID within an organization.
Protobuf type google.privacy.dlp.v2.DiscoveryStartingLocation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryStartingLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryStartingLocation build()
buildPartial()
public DiscoveryStartingLocation buildPartial()
clear()
public DiscoveryStartingLocation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DiscoveryStartingLocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFolderId()
public DiscoveryStartingLocation.Builder clearFolderId()
The ID of the Folder within an organization to scan.
int64 folder_id = 2;
clearLocation()
public DiscoveryStartingLocation.Builder clearLocation()
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryStartingLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOrganizationId()
public DiscoveryStartingLocation.Builder clearOrganizationId()
The ID of an organization to scan.
int64 organization_id = 1;
clone()
public DiscoveryStartingLocation.Builder clone()
Overrides
getDefaultInstanceForType()
public DiscoveryStartingLocation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 DiscoveryStartingLocation.LocationCase getLocationCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DiscoveryStartingLocation other)
public DiscoveryStartingLocation.Builder mergeFrom(DiscoveryStartingLocation other)
public DiscoveryStartingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryStartingLocation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryStartingLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryStartingLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFolderId(long value)
public DiscoveryStartingLocation.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.
|
setOrganizationId(long value)
public DiscoveryStartingLocation.Builder setOrganizationId(long value)
The ID of an organization to scan.
int64 organization_id = 1;
Parameter |
Name |
Description |
value |
long
The organizationId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryStartingLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryStartingLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides