Send feedback
Class DiscoveryConfig.OrgConfig.Builder (3.37.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.37.0 keyboard_arrow_down
public static final class DiscoveryConfig . OrgConfig . Builder extends GeneratedMessageV3 . Builder<DiscoveryConfig . OrgConfig . Builder > implements DiscoveryConfig . OrgConfigOrBuilder
Project and scan location information. Only set when the parent is an org.
Protobuf type google.privacy.dlp.v2.DiscoveryConfig.OrgConfig
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 DiscoveryConfig . OrgConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public DiscoveryConfig . OrgConfig build ()
buildPartial()
public DiscoveryConfig . OrgConfig buildPartial ()
clear()
public DiscoveryConfig . OrgConfig . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DiscoveryConfig . OrgConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLocation()
public DiscoveryConfig . OrgConfig . Builder clearLocation ()
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryConfig . OrgConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProjectId()
public DiscoveryConfig . OrgConfig . Builder clearProjectId ()
The project that will run the scan. The DLP service
account that exists within this project must have access to all resources
that are profiled, and the Cloud DLP API must be enabled.
string project_id = 2;
clone()
public DiscoveryConfig . OrgConfig . Builder clone ()
Overrides
getDefaultInstanceForType()
public DiscoveryConfig . OrgConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getLocation()
public DiscoveryStartingLocation getLocation ()
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
getLocationBuilder()
public DiscoveryStartingLocation . Builder getLocationBuilder ()
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
getLocationOrBuilder()
public DiscoveryStartingLocationOrBuilder getLocationOrBuilder ()
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
getProjectId()
public String getProjectId ()
The project that will run the scan. The DLP service
account that exists within this project must have access to all resources
that are profiled, and the Cloud DLP API must be enabled.
string project_id = 2;
Returns Type Description String
The projectId.
getProjectIdBytes()
public ByteString getProjectIdBytes ()
The project that will run the scan. The DLP service
account that exists within this project must have access to all resources
that are profiled, and the Cloud DLP API must be enabled.
string project_id = 2;
Returns Type Description ByteString
The bytes for projectId.
hasLocation()
public boolean hasLocation ()
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
Returns Type Description boolean
Whether the location field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(DiscoveryConfig.OrgConfig other)
public DiscoveryConfig . OrgConfig . Builder mergeFrom ( DiscoveryConfig . OrgConfig other )
public DiscoveryConfig . OrgConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public DiscoveryConfig . OrgConfig . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeLocation(DiscoveryStartingLocation value)
public DiscoveryConfig . OrgConfig . Builder mergeLocation ( DiscoveryStartingLocation value )
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryConfig . OrgConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryConfig . OrgConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setLocation(DiscoveryStartingLocation value)
public DiscoveryConfig . OrgConfig . Builder setLocation ( DiscoveryStartingLocation value )
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
setLocation(DiscoveryStartingLocation.Builder builderForValue)
public DiscoveryConfig . OrgConfig . Builder setLocation ( DiscoveryStartingLocation . Builder builderForValue )
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
setProjectId(String value)
public DiscoveryConfig . OrgConfig . Builder setProjectId ( String value )
The project that will run the scan. The DLP service
account that exists within this project must have access to all resources
that are profiled, and the Cloud DLP API must be enabled.
string project_id = 2;
Parameter Name Description value
String
The projectId to set.
setProjectIdBytes(ByteString value)
public DiscoveryConfig . OrgConfig . Builder setProjectIdBytes ( ByteString value )
The project that will run the scan. The DLP service
account that exists within this project must have access to all resources
that are profiled, and the Cloud DLP API must be enabled.
string project_id = 2;
Parameter Name Description value
ByteString
The bytes for projectId to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryConfig . OrgConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryConfig . OrgConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]