Package com.google.privacy.dlp.v2
Class CloudStorageDiscoveryTarget
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.CloudStorageDiscoveryTarget
- All Implemented Interfaces:
CloudStorageDiscoveryTargetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CloudStorageDiscoveryTarget
extends com.google.protobuf.GeneratedMessage
implements CloudStorageDiscoveryTargetOrBuilder
Target used to match against for discovery with Cloud Storage buckets.Protobuf type
google.privacy.dlp.v2.CloudStorageDiscoveryTarget- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTarget used to match against for discovery with Cloud Storage buckets.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.static CloudStorageDiscoveryTargetstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Required.Required.Optional.Optional.com.google.protobuf.Parser<CloudStorageDiscoveryTarget>intbooleanOptional.booleanOptional.booleanRequired.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(CloudStorageDiscoveryTarget prototype) protected CloudStorageDiscoveryTarget.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CloudStorageDiscoveryTargetparseDelimitedFrom(InputStream input) static CloudStorageDiscoveryTargetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CloudStorageDiscoveryTargetparseFrom(byte[] data) static CloudStorageDiscoveryTargetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CloudStorageDiscoveryTargetparseFrom(com.google.protobuf.ByteString data) static CloudStorageDiscoveryTargetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CloudStorageDiscoveryTargetparseFrom(com.google.protobuf.CodedInputStream input) static CloudStorageDiscoveryTargetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CloudStorageDiscoveryTargetparseFrom(InputStream input) static CloudStorageDiscoveryTargetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CloudStorageDiscoveryTargetparseFrom(ByteBuffer data) static CloudStorageDiscoveryTargetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CloudStorageDiscoveryTarget>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER- See Also:
-
GENERATION_CADENCE_FIELD_NUMBER
public static final int GENERATION_CADENCE_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER- See Also:
-
-
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
-
getCadenceCase
- Specified by:
getCadenceCasein interfaceCloudStorageDiscoveryTargetOrBuilder
-
hasFilter
public boolean hasFilter()Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.
.google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFilterin interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.
.google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFilterin interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.
.google.privacy.dlp.v2.DiscoveryCloudStorageFilter filter = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFilterOrBuilderin interfaceCloudStorageDiscoveryTargetOrBuilder
-
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.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasConditionsin interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- Whether the conditions field is set.
-
getConditions
Optional. In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConditionsin interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- The conditions.
-
getConditionsOrBuilder
Optional. In addition to matching the filter, these conditions must be true before a profile is generated.
.google.privacy.dlp.v2.DiscoveryFileStoreConditions conditions = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConditionsOrBuilderin interfaceCloudStorageDiscoveryTargetOrBuilder
-
hasGenerationCadence
public boolean hasGenerationCadence()Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGenerationCadencein interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- Whether the generationCadence field is set.
-
getGenerationCadence
Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGenerationCadencein interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- The generationCadence.
-
getGenerationCadenceOrBuilder
Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadence generation_cadence = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGenerationCadenceOrBuilderin interfaceCloudStorageDiscoveryTargetOrBuilder
-
hasDisabled
public boolean hasDisabled()Optional. Disable profiling for buckets that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDisabledin interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- Whether the disabled field is set.
-
getDisabled
Optional. Disable profiling for buckets that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisabledin interfaceCloudStorageDiscoveryTargetOrBuilder- Returns:
- The disabled.
-
getDisabledOrBuilder
Optional. Disable profiling for buckets that match this filter.
.google.privacy.dlp.v2.Disabled disabled = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisabledOrBuilderin interfaceCloudStorageDiscoveryTargetOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CloudStorageDiscoveryTarget parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CloudStorageDiscoveryTarget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CloudStorageDiscoveryTarget.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-