Class ProcessingLocation.Builder

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

public static final class ProcessingLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProcessingLocation.Builder> implements ProcessingLocationOrBuilder
 Configure processing location for discovery and inspection. For example,
 image OCR is only provided in limited regions but configuring
 ProcessingLocation will redirect OCR to a location where OCR is provided.
 
Protobuf type google.privacy.dlp.v2.ProcessingLocation
  • 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<ProcessingLocation.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<ProcessingLocation.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<ProcessingLocation.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ProcessingLocation.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<ProcessingLocation.Builder>
      Throws:
      IOException
    • hasImageFallbackLocation

      public boolean hasImageFallbackLocation()
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
      Specified by:
      hasImageFallbackLocation in interface ProcessingLocationOrBuilder
      Returns:
      Whether the imageFallbackLocation field is set.
    • getImageFallbackLocation

      public ProcessingLocation.ImageFallbackLocation getImageFallbackLocation()
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
      Specified by:
      getImageFallbackLocation in interface ProcessingLocationOrBuilder
      Returns:
      The imageFallbackLocation.
    • setImageFallbackLocation

       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
    • setImageFallbackLocation

      public ProcessingLocation.Builder setImageFallbackLocation(ProcessingLocation.ImageFallbackLocation.Builder builderForValue)
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
    • mergeImageFallbackLocation

      public ProcessingLocation.Builder mergeImageFallbackLocation(ProcessingLocation.ImageFallbackLocation value)
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
    • clearImageFallbackLocation

      public ProcessingLocation.Builder clearImageFallbackLocation()
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
    • getImageFallbackLocationBuilder

      public ProcessingLocation.ImageFallbackLocation.Builder getImageFallbackLocationBuilder()
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
    • getImageFallbackLocationOrBuilder

      public ProcessingLocation.ImageFallbackLocationOrBuilder getImageFallbackLocationOrBuilder()
       Image processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation image_fallback_location = 1;
      Specified by:
      getImageFallbackLocationOrBuilder in interface ProcessingLocationOrBuilder
    • hasDocumentFallbackLocation

      public boolean hasDocumentFallbackLocation()
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
      Specified by:
      hasDocumentFallbackLocation in interface ProcessingLocationOrBuilder
      Returns:
      Whether the documentFallbackLocation field is set.
    • getDocumentFallbackLocation

      public ProcessingLocation.DocumentFallbackLocation getDocumentFallbackLocation()
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
      Specified by:
      getDocumentFallbackLocation in interface ProcessingLocationOrBuilder
      Returns:
      The documentFallbackLocation.
    • setDocumentFallbackLocation

      public ProcessingLocation.Builder setDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation value)
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
    • setDocumentFallbackLocation

      public ProcessingLocation.Builder setDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation.Builder builderForValue)
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
    • mergeDocumentFallbackLocation

      public ProcessingLocation.Builder mergeDocumentFallbackLocation(ProcessingLocation.DocumentFallbackLocation value)
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
    • clearDocumentFallbackLocation

      public ProcessingLocation.Builder clearDocumentFallbackLocation()
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
    • getDocumentFallbackLocationBuilder

      public ProcessingLocation.DocumentFallbackLocation.Builder getDocumentFallbackLocationBuilder()
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
    • getDocumentFallbackLocationOrBuilder

      public ProcessingLocation.DocumentFallbackLocationOrBuilder getDocumentFallbackLocationOrBuilder()
       Document processing falls back using this configuration.
       
      .google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation document_fallback_location = 2;
      Specified by:
      getDocumentFallbackLocationOrBuilder in interface ProcessingLocationOrBuilder