Class DiscoveryConfig.OrgConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig
All Implemented Interfaces:
DiscoveryConfig.OrgConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DiscoveryConfig

public static final class DiscoveryConfig.OrgConfig extends com.google.protobuf.GeneratedMessage implements DiscoveryConfig.OrgConfigOrBuilder
 Project and scan location information. Only set when the parent is an org.
 
Protobuf type google.privacy.dlp.v2.DiscoveryConfig.OrgConfig
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasLocation

      public boolean hasLocation()
       The data to scan: folder, org, or project
       
      .google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
      Specified by:
      hasLocation in interface DiscoveryConfig.OrgConfigOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public DiscoveryStartingLocation getLocation()
       The data to scan: folder, org, or project
       
      .google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
      Specified by:
      getLocation in interface DiscoveryConfig.OrgConfigOrBuilder
      Returns:
      The location.
    • getLocationOrBuilder

      public DiscoveryStartingLocationOrBuilder getLocationOrBuilder()
       The data to scan: folder, org, or project
       
      .google.privacy.dlp.v2.DiscoveryStartingLocation location = 1;
      Specified by:
      getLocationOrBuilder in interface DiscoveryConfig.OrgConfigOrBuilder
    • getProjectId

      public String getProjectId()
       The project that will run the scan. The DLP service
       account that exists within this project must have access to all resources
       that are profiled, and the DLP API must be enabled.
       
      string project_id = 2;
      Specified by:
      getProjectId in interface DiscoveryConfig.OrgConfigOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The project that will run the scan. The DLP service
       account that exists within this project must have access to all resources
       that are profiled, and the DLP API must be enabled.
       
      string project_id = 2;
      Specified by:
      getProjectIdBytes in interface DiscoveryConfig.OrgConfigOrBuilder
      Returns:
      The bytes for projectId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryConfig.OrgConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiscoveryConfig.OrgConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiscoveryConfig.OrgConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DiscoveryConfig.OrgConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DiscoveryConfig.OrgConfig.Builder newBuilder()
    • newBuilder

      public static DiscoveryConfig.OrgConfig.Builder newBuilder(DiscoveryConfig.OrgConfig prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DiscoveryConfig.OrgConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DiscoveryConfig.OrgConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DiscoveryConfig.OrgConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<DiscoveryConfig.OrgConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DiscoveryConfig.OrgConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder