Package s2.v1alpha
Enum Operation
- java.lang.Object
-
- java.lang.Enum<Operation>
-
- s2.v1alpha.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 enums2.v1alpha.Operation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPERATION_ACCOUNT_METRICS
Retrieve account-level metrics.OPERATION_APPEND
Append records to a stream.OPERATION_BASIN_METRICS
Retrieve basin-level metrics.OPERATION_CHECK_TAIL
Check tail of a stream.OPERATION_CREATE_BASIN
Create a basin.OPERATION_CREATE_STREAM
Create a stream.OPERATION_DELETE_BASIN
Delete a basin.OPERATION_DELETE_STREAM
Delete a stream.OPERATION_FENCE
Set a fencing token for a stream.OPERATION_GET_BASIN_CONFIG
Get basin configuration.OPERATION_GET_STREAM_CONFIG
Get stream configuration.OPERATION_ISSUE_ACCESS_TOKEN
Issue an access token.OPERATION_LIST_ACCESS_TOKENS
List access tokens.OPERATION_LIST_BASINS
List basins.OPERATION_LIST_STREAMS
List streams.OPERATION_READ
Read records from a stream.OPERATION_RECONFIGURE_BASIN
Update basin configuration.OPERATION_RECONFIGURE_STREAM
Update stream configuration.OPERATION_REVOKE_ACCESS_TOKEN
Revoke an access token.OPERATION_STREAM_METRICS
Retrieve stream-level metrics.OPERATION_TRIM
Trim records up to a sequence number.OPERATION_UNSPECIFIED
Unspecified operation.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
OPERATION_ACCOUNT_METRICS_VALUE
Retrieve account-level metrics.static int
OPERATION_APPEND_VALUE
Append records to a stream.static int
OPERATION_BASIN_METRICS_VALUE
Retrieve basin-level metrics.static int
OPERATION_CHECK_TAIL_VALUE
Check tail of a stream.static int
OPERATION_CREATE_BASIN_VALUE
Create a basin.static int
OPERATION_CREATE_STREAM_VALUE
Create a stream.static int
OPERATION_DELETE_BASIN_VALUE
Delete a basin.static int
OPERATION_DELETE_STREAM_VALUE
Delete a stream.static int
OPERATION_FENCE_VALUE
Set a fencing token for a stream.static int
OPERATION_GET_BASIN_CONFIG_VALUE
Get basin configuration.static int
OPERATION_GET_STREAM_CONFIG_VALUE
Get stream configuration.static int
OPERATION_ISSUE_ACCESS_TOKEN_VALUE
Issue an access token.static int
OPERATION_LIST_ACCESS_TOKENS_VALUE
List access tokens.static int
OPERATION_LIST_BASINS_VALUE
List basins.static int
OPERATION_LIST_STREAMS_VALUE
List streams.static int
OPERATION_READ_VALUE
Read records from a stream.static int
OPERATION_RECONFIGURE_BASIN_VALUE
Update basin configuration.static int
OPERATION_RECONFIGURE_STREAM_VALUE
Update stream configuration.static int
OPERATION_REVOKE_ACCESS_TOKEN_VALUE
Revoke an access token.static int
OPERATION_STREAM_METRICS_VALUE
Retrieve stream-level metrics.static int
OPERATION_TRIM_VALUE
Trim records up to a sequence number.static int
OPERATION_UNSPECIFIED_VALUE
Unspecified operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Operation
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Operation>
internalGetValueMap()
static Operation
valueOf(int value)
Deprecated.static Operation
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 namejava.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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.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 namejava.lang.NullPointerException
- if the argument is null
-
-