com.google.privacy.dlp.v2.DiscoveryConfigOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dlp-v2 Show documentation
Show all versions of proto-google-cloud-dlp-v2 Show documentation
PROTO library for proto-google-cloud-dlp-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto
// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;
public interface DiscoveryConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DiscoveryConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Unique resource name for the DiscoveryConfig, assigned by the service when
* the DiscoveryConfig is created, for example
* `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Unique resource name for the DiscoveryConfig, assigned by the service when
* the DiscoveryConfig is created, for example
* `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Display name (max 100 chars)
*
*
* string display_name = 11;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Display name (max 100 chars)
*
*
* string display_name = 11;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Only set when the parent is an org.
*
*
* .google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;
*
* @return Whether the orgConfig field is set.
*/
boolean hasOrgConfig();
/**
*
*
*
* Only set when the parent is an org.
*
*
* .google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;
*
* @return The orgConfig.
*/
com.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig getOrgConfig();
/**
*
*
*
* Only set when the parent is an org.
*
*
* .google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;
*/
com.google.privacy.dlp.v2.DiscoveryConfig.OrgConfigOrBuilder getOrgConfigOrBuilder();
/**
*
*
*
* Must be set only when scanning other clouds.
*
*
*
* .google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
*
*
* @return Whether the otherCloudStartingLocation field is set.
*/
boolean hasOtherCloudStartingLocation();
/**
*
*
*
* Must be set only when scanning other clouds.
*
*
*
* .google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
*
*
* @return The otherCloudStartingLocation.
*/
com.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation getOtherCloudStartingLocation();
/**
*
*
*
* Must be set only when scanning other clouds.
*
*
*
* .google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;
*
*/
com.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocationOrBuilder
getOtherCloudStartingLocationOrBuilder();
/**
*
*
*
* Detection logic for profile generation.
*
* Not all template features are used by Discovery. FindingLimits,
* include_quote and exclude_info_types have no impact on
* Discovery.
*
* Multiple templates may be provided if there is data in multiple regions.
* At most one template must be specified per-region (including "global").
* Each region is scanned using the applicable template. If no region-specific
* template is specified, but a "global" template is specified, it will be
* copied to that region and used instead. If no global or region-specific
* template is provided for a region with data, that region's data will not be
* scanned.
*
* For more information, see
* https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
*
*
* repeated string inspect_templates = 3;
*
* @return A list containing the inspectTemplates.
*/
java.util.List getInspectTemplatesList();
/**
*
*
*
* Detection logic for profile generation.
*
* Not all template features are used by Discovery. FindingLimits,
* include_quote and exclude_info_types have no impact on
* Discovery.
*
* Multiple templates may be provided if there is data in multiple regions.
* At most one template must be specified per-region (including "global").
* Each region is scanned using the applicable template. If no region-specific
* template is specified, but a "global" template is specified, it will be
* copied to that region and used instead. If no global or region-specific
* template is provided for a region with data, that region's data will not be
* scanned.
*
* For more information, see
* https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
*
*
* repeated string inspect_templates = 3;
*
* @return The count of inspectTemplates.
*/
int getInspectTemplatesCount();
/**
*
*
*
* Detection logic for profile generation.
*
* Not all template features are used by Discovery. FindingLimits,
* include_quote and exclude_info_types have no impact on
* Discovery.
*
* Multiple templates may be provided if there is data in multiple regions.
* At most one template must be specified per-region (including "global").
* Each region is scanned using the applicable template. If no region-specific
* template is specified, but a "global" template is specified, it will be
* copied to that region and used instead. If no global or region-specific
* template is provided for a region with data, that region's data will not be
* scanned.
*
* For more information, see
* https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
*
*
* repeated string inspect_templates = 3;
*
* @param index The index of the element to return.
* @return The inspectTemplates at the given index.
*/
java.lang.String getInspectTemplates(int index);
/**
*
*
*
* Detection logic for profile generation.
*
* Not all template features are used by Discovery. FindingLimits,
* include_quote and exclude_info_types have no impact on
* Discovery.
*
* Multiple templates may be provided if there is data in multiple regions.
* At most one template must be specified per-region (including "global").
* Each region is scanned using the applicable template. If no region-specific
* template is specified, but a "global" template is specified, it will be
* copied to that region and used instead. If no global or region-specific
* template is provided for a region with data, that region's data will not be
* scanned.
*
* For more information, see
* https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
*
*
* repeated string inspect_templates = 3;
*
* @param index The index of the value to return.
* @return The bytes of the inspectTemplates at the given index.
*/
com.google.protobuf.ByteString getInspectTemplatesBytes(int index);
/**
*
*
*
* Actions to execute at the completion of scanning.
*
*
* repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
*/
java.util.List getActionsList();
/**
*
*
*
* Actions to execute at the completion of scanning.
*
*
* repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
*/
com.google.privacy.dlp.v2.DataProfileAction getActions(int index);
/**
*
*
*
* Actions to execute at the completion of scanning.
*
*
* repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
*/
int getActionsCount();
/**
*
*
*
* Actions to execute at the completion of scanning.
*
*
* repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
*/
java.util.List extends com.google.privacy.dlp.v2.DataProfileActionOrBuilder>
getActionsOrBuilderList();
/**
*
*
*
* Actions to execute at the completion of scanning.
*
*
* repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;
*/
com.google.privacy.dlp.v2.DataProfileActionOrBuilder getActionsOrBuilder(int index);
/**
*
*
*
* Target to match against for determining what to scan and how frequently.
*
*
* repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
*/
java.util.List getTargetsList();
/**
*
*
*
* Target to match against for determining what to scan and how frequently.
*
*
* repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
*/
com.google.privacy.dlp.v2.DiscoveryTarget getTargets(int index);
/**
*
*
*
* Target to match against for determining what to scan and how frequently.
*
*
* repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
*/
int getTargetsCount();
/**
*
*
*
* Target to match against for determining what to scan and how frequently.
*
*
* repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
*/
java.util.List extends com.google.privacy.dlp.v2.DiscoveryTargetOrBuilder>
getTargetsOrBuilderList();
/**
*
*
*
* Target to match against for determining what to scan and how frequently.
*
*
* repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;
*/
com.google.privacy.dlp.v2.DiscoveryTargetOrBuilder getTargetsOrBuilder(int index);
/**
*
*
*
* Output only. A stream of errors encountered when the config was activated.
* Repeated errors may result in the config automatically being paused. Output
* only field. Will return the last 100 errors. Whenever the config is
* modified this list will be cleared.
*
*
*
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
java.util.List getErrorsList();
/**
*
*
*
* Output only. A stream of errors encountered when the config was activated.
* Repeated errors may result in the config automatically being paused. Output
* only field. Will return the last 100 errors. Whenever the config is
* modified this list will be cleared.
*
*
*
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.privacy.dlp.v2.Error getErrors(int index);
/**
*
*
*
* Output only. A stream of errors encountered when the config was activated.
* Repeated errors may result in the config automatically being paused. Output
* only field. Will return the last 100 errors. Whenever the config is
* modified this list will be cleared.
*
*
*
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
int getErrorsCount();
/**
*
*
*
* Output only. A stream of errors encountered when the config was activated.
* Repeated errors may result in the config automatically being paused. Output
* only field. Will return the last 100 errors. Whenever the config is
* modified this list will be cleared.
*
*
*
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
java.util.List extends com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsOrBuilderList();
/**
*
*
*
* Output only. A stream of errors encountered when the config was activated.
* Repeated errors may result in the config automatically being paused. Output
* only field. Will return the last 100 errors. Whenever the config is
* modified this list will be cleared.
*
*
*
* repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index);
/**
*
*
*
* Output only. The creation timestamp of a DiscoveryConfig.
*
*
* .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The creation timestamp of a DiscoveryConfig.
*
*
* .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The creation timestamp of a DiscoveryConfig.
*
*
* .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The last update timestamp of a DiscoveryConfig.
*
*
* .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The last update timestamp of a DiscoveryConfig.
*
*
* .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. The last update timestamp of a DiscoveryConfig.
*
*
* .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Output only. The timestamp of the last time this config was executed.
*
*
*
* .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the lastRunTime field is set.
*/
boolean hasLastRunTime();
/**
*
*
*
* Output only. The timestamp of the last time this config was executed.
*
*
*
* .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The lastRunTime.
*/
com.google.protobuf.Timestamp getLastRunTime();
/**
*
*
*
* Output only. The timestamp of the last time this config was executed.
*
*
*
* .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder();
/**
*
*
*
* Required. A status for this configuration.
*
*
*
* .google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
*
*
* Required. A status for this configuration.
*
*
*
* .google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The status.
*/
com.google.privacy.dlp.v2.DiscoveryConfig.Status getStatus();
}