Class DiscoveryStartingLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryStartingLocation.Builder>
com.google.privacy.dlp.v2.DiscoveryStartingLocation.Builder
All Implemented Interfaces:
DiscoveryStartingLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DiscoveryStartingLocation

public static final class DiscoveryStartingLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryStartingLocation.Builder> implements DiscoveryStartingLocationOrBuilder
 The location to begin a discovery scan. Denotes an organization ID or folder
 ID within an organization.
 
Protobuf type google.privacy.dlp.v2.DiscoveryStartingLocation
  • 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.Builder<DiscoveryStartingLocation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DiscoveryStartingLocation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DiscoveryStartingLocation.Builder>
    • getDefaultInstanceForType

      public DiscoveryStartingLocation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DiscoveryStartingLocation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DiscoveryStartingLocation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DiscoveryStartingLocation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiscoveryStartingLocation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DiscoveryStartingLocation.Builder>
    • mergeFrom

      public DiscoveryStartingLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiscoveryStartingLocation.Builder>
      Throws:
      IOException
    • getLocationCase

      public DiscoveryStartingLocation.LocationCase getLocationCase()
      Specified by:
      getLocationCase in interface DiscoveryStartingLocationOrBuilder
    • clearLocation

      public DiscoveryStartingLocation.Builder clearLocation()
    • hasOrganizationId

      public boolean hasOrganizationId()
       The ID of an organization to scan.
       
      int64 organization_id = 1;
      Specified by:
      hasOrganizationId in interface DiscoveryStartingLocationOrBuilder
      Returns:
      Whether the organizationId field is set.
    • getOrganizationId

      public long getOrganizationId()
       The ID of an organization to scan.
       
      int64 organization_id = 1;
      Specified by:
      getOrganizationId in interface DiscoveryStartingLocationOrBuilder
      Returns:
      The organizationId.
    • setOrganizationId

      public DiscoveryStartingLocation.Builder setOrganizationId(long value)
       The ID of an organization to scan.
       
      int64 organization_id = 1;
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public DiscoveryStartingLocation.Builder clearOrganizationId()
       The ID of an organization to scan.
       
      int64 organization_id = 1;
      Returns:
      This builder for chaining.
    • hasFolderId

      public boolean hasFolderId()
       The ID of the folder within an organization to be scanned.
       
      int64 folder_id = 2;
      Specified by:
      hasFolderId in interface DiscoveryStartingLocationOrBuilder
      Returns:
      Whether the folderId field is set.
    • getFolderId

      public long getFolderId()
       The ID of the folder within an organization to be scanned.
       
      int64 folder_id = 2;
      Specified by:
      getFolderId in interface DiscoveryStartingLocationOrBuilder
      Returns:
      The folderId.
    • setFolderId

      public DiscoveryStartingLocation.Builder setFolderId(long value)
       The ID of the folder within an organization to be scanned.
       
      int64 folder_id = 2;
      Parameters:
      value - The folderId to set.
      Returns:
      This builder for chaining.
    • clearFolderId

      public DiscoveryStartingLocation.Builder clearFolderId()
       The ID of the folder within an organization to be scanned.
       
      int64 folder_id = 2;
      Returns:
      This builder for chaining.