Class DataProfileLocation.Builder

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

public static final class DataProfileLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataProfileLocation.Builder> implements DataProfileLocationOrBuilder
 The data that will be profiled.
 
Protobuf type google.privacy.dlp.v2.DataProfileLocation
  • 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<DataProfileLocation.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<DataProfileLocation.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<DataProfileLocation.Builder>
    • getDefaultInstanceForType

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

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

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

      public DataProfileLocation.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<DataProfileLocation.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<DataProfileLocation.Builder>
    • mergeFrom

      public DataProfileLocation.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<DataProfileLocation.Builder>
      Throws:
      IOException
    • getLocationCase

      public DataProfileLocation.LocationCase getLocationCase()
      Specified by:
      getLocationCase in interface DataProfileLocationOrBuilder
    • clearLocation

      public DataProfileLocation.Builder clearLocation()
    • hasOrganizationId

      public boolean hasOrganizationId()
       The ID of an organization to scan.
       
      int64 organization_id = 1;
      Specified by:
      hasOrganizationId in interface DataProfileLocationOrBuilder
      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 DataProfileLocationOrBuilder
      Returns:
      The organizationId.
    • setOrganizationId

      public DataProfileLocation.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 DataProfileLocation.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 scan.
       
      int64 folder_id = 2;
      Specified by:
      hasFolderId in interface DataProfileLocationOrBuilder
      Returns:
      Whether the folderId field is set.
    • getFolderId

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

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

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