Class OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder (3.59.0)

public static final class OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder extends GeneratedMessageV3.Builder<OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder> implements OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationOrBuilder

The AWS starting location for discovery.

Protobuf type google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

build()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation build()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation

buildPartial()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation buildPartial()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation

clear()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder clear()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

clearAccountId()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder 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
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

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
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

clearScope()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder clearScope()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

clone()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder clone()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

getAccountId()

public String 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;

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public 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;

Returns
Type Description
ByteString

The bytes for accountId.

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;

Returns
Type Description
boolean

The allAssetInventoryAssets.

getDefaultInstanceForType()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation getDefaultInstanceForType()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getScopeCase()

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.ScopeCase getScopeCase()
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.ScopeCase

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;

Returns
Type Description
boolean

Whether the accountId field is set.

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;

Returns
Type Description
boolean

Whether the allAssetInventoryAssets field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation other)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder mergeFrom(OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation other)
Parameter
Name Description
other OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

setAccountId(String value)

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;

Parameter
Name Description
value String

The accountId to set.

Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

This builder for chaining.

setAccountIdBytes(ByteString value)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setAccountIdBytes(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;

Parameter
Name Description
value ByteString

The bytes for accountId to set.

Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

This builder for chaining.

setAllAssetInventoryAssets(boolean value)

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;

Parameter
Name Description
value boolean

The allAssetInventoryAssets to set.

Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.Builder
Overrides