Interface UpdateRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateRequest,UpdateRequest.Builder
public interface UpdateRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];.atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];longgetIndex()uint64 index = 3;getKey()string key = 2;com.google.protobuf.ByteStringstring key = 2;longuint64 prev_version = 6;com.google.protobuf.DurationgetTtl().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];com.google.protobuf.DurationOrBuilder.google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];com.google.protobuf.ByteStringgetValue()bytes value = 4;booleanhasId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];booleanhasTtl().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];Methods 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
-
hasId
boolean hasId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Returns:
- Whether the id field is set.
-
getId
PrimitiveId getId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Returns:
- The id.
-
getIdOrBuilder
PrimitiveIdOrBuilder getIdOrBuilder().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"]; -
getKey
String getKey()string key = 2;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()string key = 2;- Returns:
- The bytes for key.
-
getIndex
long getIndex()uint64 index = 3;- Returns:
- The index.
-
getValue
com.google.protobuf.ByteString getValue()bytes value = 4;- Returns:
- The value.
-
hasTtl
boolean hasTtl().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true]; -
getPrevVersion
long getPrevVersion()uint64 prev_version = 6;- Returns:
- The prevVersion.
-