Interface CreateDiscoveryConfigRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateDiscoveryConfigRequest, CreateDiscoveryConfigRequest.Builder

@Generated public interface CreateDiscoveryConfigRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`.
    com.google.protobuf.ByteString
    The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`.
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. Parent resource name.
      
       The format of this value varies depending on the scope of the request
       (project or organization):
      
       + Projects scope:
       `projects/{project_id}/locations/{location_id}`
       + Organizations scope:
       `organizations/{org_id}/locations/{location_id}`
      
       The following example `parent` string specifies a parent project with the
       identifier `example-project`, and specifies the `europe-west3` location
       for processing data:
      
       parent=projects/example-project/locations/europe-west3
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Parent resource name.
      
       The format of this value varies depending on the scope of the request
       (project or organization):
      
       + Projects scope:
       `projects/{project_id}/locations/{location_id}`
       + Organizations scope:
       `organizations/{org_id}/locations/{location_id}`
      
       The following example `parent` string specifies a parent project with the
       identifier `example-project`, and specifies the `europe-west3` location
       for processing data:
      
       parent=projects/example-project/locations/europe-west3
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasDiscoveryConfig

      boolean hasDiscoveryConfig()
       Required. The DiscoveryConfig to create.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the discoveryConfig field is set.
    • getDiscoveryConfig

      DiscoveryConfig getDiscoveryConfig()
       Required. The DiscoveryConfig to create.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The discoveryConfig.
    • getDiscoveryConfigOrBuilder

      DiscoveryConfigOrBuilder getDiscoveryConfigOrBuilder()
       Required. The DiscoveryConfig to create.
       
      .google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getConfigId

      String getConfigId()
       The config ID can contain uppercase and lowercase letters,
       numbers, and hyphens; that is, it must match the regular
       expression: `[a-zA-Z\d-_]+`. The maximum length is 100
       characters. Can be empty to allow the system to generate one.
       
      string config_id = 3;
      Returns:
      The configId.
    • getConfigIdBytes

      com.google.protobuf.ByteString getConfigIdBytes()
       The config ID can contain uppercase and lowercase letters,
       numbers, and hyphens; that is, it must match the regular
       expression: `[a-zA-Z\d-_]+`. The maximum length is 100
       characters. Can be empty to allow the system to generate one.
       
      string config_id = 3;
      Returns:
      The bytes for configId.