Class ProcessingLocation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.ProcessingLocation
All Implemented Interfaces:
ProcessingLocationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ProcessingLocation extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • IMAGE_FALLBACK_LOCATION_FIELD_NUMBER

      public static final int IMAGE_FALLBACK_LOCATION_FIELD_NUMBER
      See Also:
    • DOCUMENT_FALLBACK_LOCATION_FIELD_NUMBER

      public static final int DOCUMENT_FALLBACK_LOCATION_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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
    • 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 ProcessingLocation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ProcessingLocation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ProcessingLocation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ProcessingLocation.Builder newBuilder()
    • newBuilder

      public static ProcessingLocation.Builder newBuilder(ProcessingLocation prototype)
    • toBuilder

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

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

      public static ProcessingLocation getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ProcessingLocation> 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 ProcessingLocation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder