Enum IngestionDataSourceSettings.CloudStorage.State

java.lang.Object
java.lang.Enum<IngestionDataSourceSettings.CloudStorage.State>
com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<IngestionDataSourceSettings.CloudStorage.State>
Enclosing class:
IngestionDataSourceSettings.CloudStorage

public static enum IngestionDataSourceSettings.CloudStorage.State extends Enum<IngestionDataSourceSettings.CloudStorage.State> implements com.google.protobuf.ProtocolMessageEnum
 Possible states for ingestion from Cloud Storage.
 
Protobuf enum google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final IngestionDataSourceSettings.CloudStorage.State STATE_UNSPECIFIED
       Default value. This value is unused.
       
      STATE_UNSPECIFIED = 0;
    • ACTIVE

       Ingestion is active.
       
      ACTIVE = 1;
    • CLOUD_STORAGE_PERMISSION_DENIED

      public static final IngestionDataSourceSettings.CloudStorage.State CLOUD_STORAGE_PERMISSION_DENIED
       Permission denied encountered while calling the Cloud Storage API. This
       can happen if the Pub/Sub SA has not been granted the
       [appropriate
       permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions):
       - storage.objects.list: to list the objects in a bucket.
       - storage.objects.get: to read the objects in a bucket.
       - storage.buckets.get: to verify the bucket exists.
       
      CLOUD_STORAGE_PERMISSION_DENIED = 2;
    • PUBLISH_PERMISSION_DENIED

      public static final IngestionDataSourceSettings.CloudStorage.State PUBLISH_PERMISSION_DENIED
       Permission denied encountered while publishing to the topic. This can
       happen if the Pub/Sub SA has not been granted the [appropriate publish
       permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
       
      PUBLISH_PERMISSION_DENIED = 3;
    • BUCKET_NOT_FOUND

      public static final IngestionDataSourceSettings.CloudStorage.State BUCKET_NOT_FOUND
       The provided Cloud Storage bucket doesn't exist.
       
      BUCKET_NOT_FOUND = 4;
    • TOO_MANY_OBJECTS

      public static final IngestionDataSourceSettings.CloudStorage.State TOO_MANY_OBJECTS
       The Cloud Storage bucket has too many objects, ingestion will be
       paused.
       
      TOO_MANY_OBJECTS = 5;
    • UNRECOGNIZED

      public static final IngestionDataSourceSettings.CloudStorage.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       Default value. This value is unused.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • ACTIVE_VALUE

      public static final int ACTIVE_VALUE
       Ingestion is active.
       
      ACTIVE = 1;
      See Also:
    • CLOUD_STORAGE_PERMISSION_DENIED_VALUE

      public static final int CLOUD_STORAGE_PERMISSION_DENIED_VALUE
       Permission denied encountered while calling the Cloud Storage API. This
       can happen if the Pub/Sub SA has not been granted the
       [appropriate
       permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions):
       - storage.objects.list: to list the objects in a bucket.
       - storage.objects.get: to read the objects in a bucket.
       - storage.buckets.get: to verify the bucket exists.
       
      CLOUD_STORAGE_PERMISSION_DENIED = 2;
      See Also:
    • PUBLISH_PERMISSION_DENIED_VALUE

      public static final int PUBLISH_PERMISSION_DENIED_VALUE
       Permission denied encountered while publishing to the topic. This can
       happen if the Pub/Sub SA has not been granted the [appropriate publish
       permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
       
      PUBLISH_PERMISSION_DENIED = 3;
      See Also:
    • BUCKET_NOT_FOUND_VALUE

      public static final int BUCKET_NOT_FOUND_VALUE
       The provided Cloud Storage bucket doesn't exist.
       
      BUCKET_NOT_FOUND = 4;
      See Also:
    • TOO_MANY_OBJECTS_VALUE

      public static final int TOO_MANY_OBJECTS_VALUE
       The Cloud Storage bucket has too many objects, ingestion will be
       paused.
       
      TOO_MANY_OBJECTS = 5;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static IngestionDataSourceSettings.CloudStorage.State forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<IngestionDataSourceSettings.CloudStorage.State> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static IngestionDataSourceSettings.CloudStorage.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null