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_METRICSRetrieve account-level metrics.OPERATION_APPENDAppend records to a stream.OPERATION_BASIN_METRICSRetrieve basin-level metrics.OPERATION_CHECK_TAILCheck tail of a stream.OPERATION_CREATE_BASINCreate a basin.OPERATION_CREATE_STREAMCreate a stream.OPERATION_DELETE_BASINDelete a basin.OPERATION_DELETE_STREAMDelete a stream.OPERATION_FENCESet a fencing token for a stream.OPERATION_GET_BASIN_CONFIGGet basin configuration.OPERATION_GET_STREAM_CONFIGGet stream configuration.OPERATION_ISSUE_ACCESS_TOKENIssue an access token.OPERATION_LIST_ACCESS_TOKENSList access tokens.OPERATION_LIST_BASINSList basins.OPERATION_LIST_STREAMSList streams.OPERATION_READRead records from a stream.OPERATION_RECONFIGURE_BASINUpdate basin configuration.OPERATION_RECONFIGURE_STREAMUpdate stream configuration.OPERATION_REVOKE_ACCESS_TOKENRevoke an access token.OPERATION_STREAM_METRICSRetrieve stream-level metrics.OPERATION_TRIMTrim records up to a sequence number.OPERATION_UNSPECIFIEDUnspecified operation.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intOPERATION_ACCOUNT_METRICS_VALUERetrieve account-level metrics.static intOPERATION_APPEND_VALUEAppend records to a stream.static intOPERATION_BASIN_METRICS_VALUERetrieve basin-level metrics.static intOPERATION_CHECK_TAIL_VALUECheck tail of a stream.static intOPERATION_CREATE_BASIN_VALUECreate a basin.static intOPERATION_CREATE_STREAM_VALUECreate a stream.static intOPERATION_DELETE_BASIN_VALUEDelete a basin.static intOPERATION_DELETE_STREAM_VALUEDelete a stream.static intOPERATION_FENCE_VALUESet a fencing token for a stream.static intOPERATION_GET_BASIN_CONFIG_VALUEGet basin configuration.static intOPERATION_GET_STREAM_CONFIG_VALUEGet stream configuration.static intOPERATION_ISSUE_ACCESS_TOKEN_VALUEIssue an access token.static intOPERATION_LIST_ACCESS_TOKENS_VALUEList access tokens.static intOPERATION_LIST_BASINS_VALUEList basins.static intOPERATION_LIST_STREAMS_VALUEList streams.static intOPERATION_READ_VALUERead records from a stream.static intOPERATION_RECONFIGURE_BASIN_VALUEUpdate basin configuration.static intOPERATION_RECONFIGURE_STREAM_VALUEUpdate stream configuration.static intOPERATION_REVOKE_ACCESS_TOKEN_VALUERevoke an access token.static intOPERATION_STREAM_METRICS_VALUERetrieve stream-level metrics.static intOPERATION_TRIM_VALUETrim records up to a sequence number.static intOPERATION_UNSPECIFIED_VALUEUnspecified operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OperationforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Operation>internalGetValueMap()static OperationvalueOf(int value)Deprecated.static OperationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OperationvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-