Class OtherCloudDiscoveryTarget (3.56.0)

public final class OtherCloudDiscoveryTarget extends GeneratedMessageV3 implements OtherCloudDiscoveryTargetOrBuilder

Target used to match against for discovery of resources from other clouds. An AWS connector in Security Command Center (Enterprise is required to use this feature.

Protobuf type google.privacy.dlp.v2.OtherCloudDiscoveryTarget

Static Fields

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

DATA_SOURCE_TYPE_FIELD_NUMBER

public static final int DATA_SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

GENERATION_CADENCE_FIELD_NUMBER

public static final int GENERATION_CADENCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OtherCloudDiscoveryTarget getDefaultInstance()
Returns
Type Description
OtherCloudDiscoveryTarget

getDescriptor()

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

newBuilder()

public static OtherCloudDiscoveryTarget.Builder newBuilder()
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

newBuilder(OtherCloudDiscoveryTarget prototype)

public static OtherCloudDiscoveryTarget.Builder newBuilder(OtherCloudDiscoveryTarget prototype)
Parameter
Name Description
prototype OtherCloudDiscoveryTarget
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

parseDelimitedFrom(InputStream input)

public static OtherCloudDiscoveryTarget parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OtherCloudDiscoveryTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OtherCloudDiscoveryTarget parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OtherCloudDiscoveryTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OtherCloudDiscoveryTarget parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OtherCloudDiscoveryTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OtherCloudDiscoveryTarget parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OtherCloudDiscoveryTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OtherCloudDiscoveryTarget parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OtherCloudDiscoveryTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OtherCloudDiscoveryTarget parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OtherCloudDiscoveryTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OtherCloudDiscoveryTarget
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OtherCloudDiscoveryTarget> parser()
Returns
Type Description
Parser<OtherCloudDiscoveryTarget>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCadenceCase()

public OtherCloudDiscoveryTarget.CadenceCase getCadenceCase()
Returns
Type Description
OtherCloudDiscoveryTarget.CadenceCase

getConditions()

public DiscoveryOtherCloudConditions getConditions()

Optional. In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryOtherCloudConditions

The conditions.

getConditionsOrBuilder()

public DiscoveryOtherCloudConditionsOrBuilder getConditionsOrBuilder()

Optional. In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiscoveryOtherCloudConditionsOrBuilder

getDataSourceType()

public DataSourceType getDataSourceType()

Required. The type of data profiles generated by this discovery target. Supported values are:

  • aws/s3/bucket

.google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataSourceType

The dataSourceType.

getDataSourceTypeOrBuilder()

public DataSourceTypeOrBuilder getDataSourceTypeOrBuilder()

Required. The type of data profiles generated by this discovery target. Supported values are:

  • aws/s3/bucket

.google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataSourceTypeOrBuilder

getDefaultInstanceForType()

public OtherCloudDiscoveryTarget getDefaultInstanceForType()
Returns
Type Description
OtherCloudDiscoveryTarget

getDisabled()

public Disabled getDisabled()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
Disabled

The disabled.

getDisabledOrBuilder()

public DisabledOrBuilder getDisabledOrBuilder()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
DisabledOrBuilder

getFilter()

public DiscoveryOtherCloudFilter getFilter()

Required. The resources that the discovery cadence applies to. The first target with a matching filter will be the one to apply to a resource.

.google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryOtherCloudFilter

The filter.

getFilterOrBuilder()

public DiscoveryOtherCloudFilterOrBuilder getFilterOrBuilder()

Required. The resources that the discovery cadence applies to. The first target with a matching filter will be the one to apply to a resource.

.google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DiscoveryOtherCloudFilterOrBuilder

getGenerationCadence()

public DiscoveryOtherCloudGenerationCadence getGenerationCadence()

How often and when to update data profiles. New resources that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;

Returns
Type Description
DiscoveryOtherCloudGenerationCadence

The generationCadence.

getGenerationCadenceOrBuilder()

public DiscoveryOtherCloudGenerationCadenceOrBuilder getGenerationCadenceOrBuilder()

How often and when to update data profiles. New resources that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;

Returns
Type Description
DiscoveryOtherCloudGenerationCadenceOrBuilder

getParserForType()

public Parser<OtherCloudDiscoveryTarget> getParserForType()
Returns
Type Description
Parser<OtherCloudDiscoveryTarget>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConditions()

public boolean hasConditions()

Optional. In addition to matching the filter, these conditions must be true before a profile is generated.

.google.privacy.dlp.v2.DiscoveryOtherCloudConditions conditions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the conditions field is set.

hasDataSourceType()

public boolean hasDataSourceType()

Required. The type of data profiles generated by this discovery target. Supported values are:

  • aws/s3/bucket

.google.privacy.dlp.v2.DataSourceType data_source_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataSourceType field is set.

hasDisabled()

public boolean hasDisabled()

Disable profiling for resources that match this filter.

.google.privacy.dlp.v2.Disabled disabled = 5;

Returns
Type Description
boolean

Whether the disabled field is set.

hasFilter()

public boolean hasFilter()

Required. The resources that the discovery cadence applies to. The first target with a matching filter will be the one to apply to a resource.

.google.privacy.dlp.v2.DiscoveryOtherCloudFilter filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filter field is set.

hasGenerationCadence()

public boolean hasGenerationCadence()

How often and when to update data profiles. New resources that match both the filter and conditions are scanned as quickly as possible depending on system capacity.

.google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence generation_cadence = 4;

Returns
Type Description
boolean

Whether the generationCadence field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OtherCloudDiscoveryTarget.Builder newBuilderForType()
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OtherCloudDiscoveryTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OtherCloudDiscoveryTarget.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OtherCloudDiscoveryTarget.Builder toBuilder()
Returns
Type Description
OtherCloudDiscoveryTarget.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException