Package com.google.privacy.dlp.v2
Class OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder>
com.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
- All Implemented Interfaces:
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation
public static final class OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder>
implements OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder
The AWS starting location for discovery.Protobuf type
google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The AWS account ID that this discovery config applies to.All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.The AWS account ID that this discovery config applies to.com.google.protobuf.ByteStringThe AWS account ID that this discovery config applies to.booleanAll AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThe AWS account ID that this discovery config applies to.booleanAll AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAccountId(String value) The AWS account ID that this discovery config applies to.setAccountIdBytes(com.google.protobuf.ByteString value) The AWS account ID that this discovery config applies to.setAllAssetInventoryAssets(boolean value) All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.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<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.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<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.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<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.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
public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder>
-
mergeFrom
public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.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<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder>- Throws:
IOException
-
getScopeCase
- Specified by:
getScopeCasein interfaceOtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder
-
clearScope
-
hasAccountId
public boolean hasAccountId()The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}string account_id = 2;- Specified by:
hasAccountIdin interfaceOtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder- Returns:
- Whether the accountId field is set.
-
getAccountId
The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}string account_id = 2;- Specified by:
getAccountIdin interfaceOtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}string account_id = 2;- Specified by:
getAccountIdBytesin interfaceOtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder- Returns:
- The bytes for accountId.
-
setAccountId
public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setAccountId(String value) The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}string account_id = 2;- Parameters:
value- The accountId to set.- Returns:
- This builder for chaining.
-
clearAccountId
The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}string account_id = 2;- Returns:
- This builder for chaining.
-
setAccountIdBytes
public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setAccountIdBytes(com.google.protobuf.ByteString value) The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management_account_id}:account/{org_id}/{account_id}string account_id = 2;- Parameters:
value- The bytes for accountId to set.- Returns:
- This builder for chaining.
-
hasAllAssetInventoryAssets
public boolean hasAllAssetInventoryAssets()All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.
bool all_asset_inventory_assets = 3;- Specified by:
hasAllAssetInventoryAssetsin interfaceOtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder- Returns:
- Whether the allAssetInventoryAssets field is set.
-
getAllAssetInventoryAssets
public boolean getAllAssetInventoryAssets()All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.
bool all_asset_inventory_assets = 3;- Specified by:
getAllAssetInventoryAssetsin interfaceOtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder- Returns:
- The allAssetInventoryAssets.
-
setAllAssetInventoryAssets
public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setAllAssetInventoryAssets(boolean value) All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.
bool all_asset_inventory_assets = 3;- Parameters:
value- The allAssetInventoryAssets to set.- Returns:
- This builder for chaining.
-
clearAllAssetInventoryAssets
public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder clearAllAssetInventoryAssets()All AWS assets stored in Asset Inventory that didn't match other AWS discovery configs.
bool all_asset_inventory_assets = 3;- Returns:
- This builder for chaining.
-