Package com.google.privacy.dlp.v2
Class DiscoveryConfig.OrgConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryConfig.OrgConfig.Builder>
com.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig.Builder
- All Implemented Interfaces:
DiscoveryConfig.OrgConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryConfig.OrgConfig
public static final class DiscoveryConfig.OrgConfig.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The data to scan: folder, org, or projectThe project that will run the scan.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe data to scan: folder, org, or projectThe data to scan: folder, org, or projectThe data to scan: folder, org, or projectThe project that will run the scan.com.google.protobuf.ByteStringThe project that will run the scan.booleanThe data to scan: folder, org, or projectprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The data to scan: folder, org, or projectThe data to scan: folder, org, or projectsetLocation(DiscoveryStartingLocation.Builder builderForValue) The data to scan: folder, org, or projectsetProjectId(String value) The project that will run the scan.setProjectIdBytes(com.google.protobuf.ByteString value) The project that will run the scan.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryConfig.OrgConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryConfig.OrgConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryConfig.OrgConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryConfig.OrgConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryConfig.OrgConfig.Builder>
-
mergeFrom
public DiscoveryConfig.OrgConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryConfig.OrgConfig.Builder>- Throws:
IOException
-
hasLocation
public boolean hasLocation()The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;- Specified by:
hasLocationin interfaceDiscoveryConfig.OrgConfigOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;- Specified by:
getLocationin interfaceDiscoveryConfig.OrgConfigOrBuilder- Returns:
- The location.
-
setLocation
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1; -
setLocation
public DiscoveryConfig.OrgConfig.Builder setLocation(DiscoveryStartingLocation.Builder builderForValue) The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1; -
mergeLocation
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1; -
clearLocation
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1; -
getLocationBuilder
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1; -
getLocationOrBuilder
The data to scan: folder, org, or project
.google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;- Specified by:
getLocationOrBuilderin interfaceDiscoveryConfig.OrgConfigOrBuilder
-
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 DLP API must be enabled.
string project_id = 2;- Specified by:
getProjectIdin interfaceDiscoveryConfig.OrgConfigOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.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 DLP API must be enabled.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceDiscoveryConfig.OrgConfigOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
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 DLP API must be enabled.
string project_id = 2;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
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 DLP API must be enabled.
string project_id = 2;- Returns:
- This builder for chaining.
-
setProjectIdBytes
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 DLP API must be enabled.
string project_id = 2;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-