Package s2.v1alpha

Enum Operation

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<Operation>

    public enum Operation
    extends java.lang.Enum<Operation>
    implements com.google.protobuf.ProtocolMessageEnum
     API operations.
     
    Protobuf enum s2.v1alpha.Operation
    • Enum Constant Detail

      • OPERATION_UNSPECIFIED

        public static final Operation OPERATION_UNSPECIFIED
         Unspecified operation.
         
        OPERATION_UNSPECIFIED = 0;
      • OPERATION_LIST_BASINS

        public static final Operation OPERATION_LIST_BASINS
         List basins.
         
        OPERATION_LIST_BASINS = 1;
      • OPERATION_CREATE_BASIN

        public static final Operation OPERATION_CREATE_BASIN
         Create a basin.
         
        OPERATION_CREATE_BASIN = 2;
      • OPERATION_DELETE_BASIN

        public static final Operation OPERATION_DELETE_BASIN
         Delete a basin.
         
        OPERATION_DELETE_BASIN = 3;
      • OPERATION_RECONFIGURE_BASIN

        public static final Operation OPERATION_RECONFIGURE_BASIN
         Update basin configuration.
         
        OPERATION_RECONFIGURE_BASIN = 4;
      • OPERATION_GET_BASIN_CONFIG

        public static final Operation OPERATION_GET_BASIN_CONFIG
         Get basin configuration.
         
        OPERATION_GET_BASIN_CONFIG = 5;
      • OPERATION_ISSUE_ACCESS_TOKEN

        public static final Operation OPERATION_ISSUE_ACCESS_TOKEN
         Issue an access token.
         
        OPERATION_ISSUE_ACCESS_TOKEN = 6;
      • OPERATION_REVOKE_ACCESS_TOKEN

        public static final Operation OPERATION_REVOKE_ACCESS_TOKEN
         Revoke an access token.
         
        OPERATION_REVOKE_ACCESS_TOKEN = 7;
      • OPERATION_LIST_ACCESS_TOKENS

        public static final Operation OPERATION_LIST_ACCESS_TOKENS
         List access tokens.
         
        OPERATION_LIST_ACCESS_TOKENS = 8;
      • OPERATION_LIST_STREAMS

        public static final Operation OPERATION_LIST_STREAMS
         List streams.
         
        OPERATION_LIST_STREAMS = 9;
      • OPERATION_CREATE_STREAM

        public static final Operation OPERATION_CREATE_STREAM
         Create a stream.
         
        OPERATION_CREATE_STREAM = 10;
      • OPERATION_DELETE_STREAM

        public static final Operation OPERATION_DELETE_STREAM
         Delete a stream.
         
        OPERATION_DELETE_STREAM = 11;
      • OPERATION_GET_STREAM_CONFIG

        public static final Operation OPERATION_GET_STREAM_CONFIG
         Get stream configuration.
         
        OPERATION_GET_STREAM_CONFIG = 12;
      • OPERATION_RECONFIGURE_STREAM

        public static final Operation OPERATION_RECONFIGURE_STREAM
         Update stream configuration.
         
        OPERATION_RECONFIGURE_STREAM = 13;
      • OPERATION_CHECK_TAIL

        public static final Operation OPERATION_CHECK_TAIL
         Check tail of a stream.
         
        OPERATION_CHECK_TAIL = 14;
      • OPERATION_APPEND

        public static final Operation OPERATION_APPEND
         Append records to a stream.
         
        OPERATION_APPEND = 15;
      • OPERATION_READ

        public static final Operation OPERATION_READ
         Read records from a stream.
         
        OPERATION_READ = 16;
      • OPERATION_TRIM

        public static final Operation OPERATION_TRIM
         Trim records up to a sequence number.
         
        OPERATION_TRIM = 17;
      • OPERATION_FENCE

        public static final Operation OPERATION_FENCE
         Set a fencing token for a stream.
         
        OPERATION_FENCE = 18;
      • OPERATION_ACCOUNT_METRICS

        public static final Operation OPERATION_ACCOUNT_METRICS
         Retrieve account-level metrics.
         
        OPERATION_ACCOUNT_METRICS = 19;
      • OPERATION_BASIN_METRICS

        public static final Operation OPERATION_BASIN_METRICS
         Retrieve basin-level metrics.
         
        OPERATION_BASIN_METRICS = 20;
      • OPERATION_STREAM_METRICS

        public static final Operation OPERATION_STREAM_METRICS
         Retrieve stream-level metrics.
         
        OPERATION_STREAM_METRICS = 21;
      • UNRECOGNIZED

        public static final Operation UNRECOGNIZED
    • Field Detail

      • OPERATION_UNSPECIFIED_VALUE

        public static final int OPERATION_UNSPECIFIED_VALUE
         Unspecified operation.
         
        OPERATION_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • OPERATION_LIST_BASINS_VALUE

        public static final int OPERATION_LIST_BASINS_VALUE
         List basins.
         
        OPERATION_LIST_BASINS = 1;
        See Also:
        Constant Field Values
      • OPERATION_CREATE_BASIN_VALUE

        public static final int OPERATION_CREATE_BASIN_VALUE
         Create a basin.
         
        OPERATION_CREATE_BASIN = 2;
        See Also:
        Constant Field Values
      • OPERATION_DELETE_BASIN_VALUE

        public static final int OPERATION_DELETE_BASIN_VALUE
         Delete a basin.
         
        OPERATION_DELETE_BASIN = 3;
        See Also:
        Constant Field Values
      • OPERATION_RECONFIGURE_BASIN_VALUE

        public static final int OPERATION_RECONFIGURE_BASIN_VALUE
         Update basin configuration.
         
        OPERATION_RECONFIGURE_BASIN = 4;
        See Also:
        Constant Field Values
      • OPERATION_GET_BASIN_CONFIG_VALUE

        public static final int OPERATION_GET_BASIN_CONFIG_VALUE
         Get basin configuration.
         
        OPERATION_GET_BASIN_CONFIG = 5;
        See Also:
        Constant Field Values
      • OPERATION_ISSUE_ACCESS_TOKEN_VALUE

        public static final int OPERATION_ISSUE_ACCESS_TOKEN_VALUE
         Issue an access token.
         
        OPERATION_ISSUE_ACCESS_TOKEN = 6;
        See Also:
        Constant Field Values
      • OPERATION_REVOKE_ACCESS_TOKEN_VALUE

        public static final int OPERATION_REVOKE_ACCESS_TOKEN_VALUE
         Revoke an access token.
         
        OPERATION_REVOKE_ACCESS_TOKEN = 7;
        See Also:
        Constant Field Values
      • OPERATION_LIST_ACCESS_TOKENS_VALUE

        public static final int OPERATION_LIST_ACCESS_TOKENS_VALUE
         List access tokens.
         
        OPERATION_LIST_ACCESS_TOKENS = 8;
        See Also:
        Constant Field Values
      • OPERATION_LIST_STREAMS_VALUE

        public static final int OPERATION_LIST_STREAMS_VALUE
         List streams.
         
        OPERATION_LIST_STREAMS = 9;
        See Also:
        Constant Field Values
      • OPERATION_CREATE_STREAM_VALUE

        public static final int OPERATION_CREATE_STREAM_VALUE
         Create a stream.
         
        OPERATION_CREATE_STREAM = 10;
        See Also:
        Constant Field Values
      • OPERATION_DELETE_STREAM_VALUE

        public static final int OPERATION_DELETE_STREAM_VALUE
         Delete a stream.
         
        OPERATION_DELETE_STREAM = 11;
        See Also:
        Constant Field Values
      • OPERATION_GET_STREAM_CONFIG_VALUE

        public static final int OPERATION_GET_STREAM_CONFIG_VALUE
         Get stream configuration.
         
        OPERATION_GET_STREAM_CONFIG = 12;
        See Also:
        Constant Field Values
      • OPERATION_RECONFIGURE_STREAM_VALUE

        public static final int OPERATION_RECONFIGURE_STREAM_VALUE
         Update stream configuration.
         
        OPERATION_RECONFIGURE_STREAM = 13;
        See Also:
        Constant Field Values
      • OPERATION_CHECK_TAIL_VALUE

        public static final int OPERATION_CHECK_TAIL_VALUE
         Check tail of a stream.
         
        OPERATION_CHECK_TAIL = 14;
        See Also:
        Constant Field Values
      • OPERATION_APPEND_VALUE

        public static final int OPERATION_APPEND_VALUE
         Append records to a stream.
         
        OPERATION_APPEND = 15;
        See Also:
        Constant Field Values
      • OPERATION_READ_VALUE

        public static final int OPERATION_READ_VALUE
         Read records from a stream.
         
        OPERATION_READ = 16;
        See Also:
        Constant Field Values
      • OPERATION_TRIM_VALUE

        public static final int OPERATION_TRIM_VALUE
         Trim records up to a sequence number.
         
        OPERATION_TRIM = 17;
        See Also:
        Constant Field Values
      • OPERATION_FENCE_VALUE

        public static final int OPERATION_FENCE_VALUE
         Set a fencing token for a stream.
         
        OPERATION_FENCE = 18;
        See Also:
        Constant Field Values
      • OPERATION_ACCOUNT_METRICS_VALUE

        public static final int OPERATION_ACCOUNT_METRICS_VALUE
         Retrieve account-level metrics.
         
        OPERATION_ACCOUNT_METRICS = 19;
        See Also:
        Constant Field Values
      • OPERATION_BASIN_METRICS_VALUE

        public static final int OPERATION_BASIN_METRICS_VALUE
         Retrieve basin-level metrics.
         
        OPERATION_BASIN_METRICS = 20;
        See Also:
        Constant Field Values
      • OPERATION_STREAM_METRICS_VALUE

        public static final int OPERATION_STREAM_METRICS_VALUE
         Retrieve stream-level metrics.
         
        OPERATION_STREAM_METRICS = 21;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Operation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Operation c : Operation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Operation valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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
        public static Operation valueOf​(int value)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static Operation 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<Operation> 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 Operation 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null