Package io.streamnative.oxia.proto
Interface VersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version,Version.Builder
public interface VersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string client_identity = 6;com.google.protobuf.ByteStringoptional string client_identity = 6;longThe creation timestamp of the first version of the recordlongThe number of modifications made to the record since it was createdlongThe modified timestamp of the current version of the recordlongIdentifier of the session if the record is ephemerallongThe version identifier of the recordbooleanoptional string client_identity = 6;booleanIdentifier of the session if the record is ephemeralMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getVersionId
long getVersionId()The version identifier of the record
int64 version_id = 1;- Returns:
- The versionId.
-
getModificationsCount
long getModificationsCount()The number of modifications made to the record since it was created
int64 modifications_count = 2;- Returns:
- The modificationsCount.
-
getCreatedTimestamp
long getCreatedTimestamp()The creation timestamp of the first version of the record
fixed64 created_timestamp = 3;- Returns:
- The createdTimestamp.
-
getModifiedTimestamp
long getModifiedTimestamp()The modified timestamp of the current version of the record
fixed64 modified_timestamp = 4;- Returns:
- The modifiedTimestamp.
-
hasSessionId
boolean hasSessionId()Identifier of the session if the record is ephemeral
optional int64 session_id = 5;- Returns:
- Whether the sessionId field is set.
-
getSessionId
long getSessionId()Identifier of the session if the record is ephemeral
optional int64 session_id = 5;- Returns:
- The sessionId.
-
hasClientIdentity
boolean hasClientIdentity()optional string client_identity = 6;- Returns:
- Whether the clientIdentity field is set.
-
getClientIdentity
String getClientIdentity()optional string client_identity = 6;- Returns:
- The clientIdentity.
-
getClientIdentityBytes
com.google.protobuf.ByteString getClientIdentityBytes()optional string client_identity = 6;- Returns:
- The bytes for clientIdentity.
-