Class UpdateRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.atomix.api.runtime.indexedmap.v1.UpdateRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateRequestOrBuilder,Serializable
public final class UpdateRequest
extends com.google.protobuf.GeneratedMessageV3
implements UpdateRequestOrBuilder
Protobuf type
atomix.runtime.indexedmap.v1.UpdateRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeatomix.runtime.indexedmap.v1.UpdateRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UpdateRequeststatic final com.google.protobuf.Descriptors.DescriptorgetId().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;com.google.protobuf.Parser<UpdateRequest>longuint64 prev_version = 6;intcom.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];final com.google.protobuf.UnknownFieldSetcom.google.protobuf.ByteStringgetValue()bytes value = 4;inthashCode()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];final booleanstatic UpdateRequest.Builderstatic UpdateRequest.BuildernewBuilder(UpdateRequest prototype) static UpdateRequestparseDelimitedFrom(InputStream input) static UpdateRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateRequestparseFrom(byte[] data) static UpdateRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateRequestparseFrom(com.google.protobuf.ByteString data) static UpdateRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateRequestparseFrom(com.google.protobuf.CodedInputStream input) static UpdateRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateRequestparseFrom(InputStream input) static UpdateRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UpdateRequestparseFrom(ByteBuffer data) static UpdateRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpdateRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneofMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER- See Also:
-
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER- See Also:
-
PREV_VERSION_FIELD_NUMBER
public static final int PREV_VERSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
hasId
public boolean hasId().atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Specified by:
hasIdin interfaceUpdateRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
.atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Specified by:
getIdin interfaceUpdateRequestOrBuilder- Returns:
- The id.
-
getIdOrBuilder
.atomix.runtime.v1.PrimitiveId id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customname) = "ID"];- Specified by:
getIdOrBuilderin interfaceUpdateRequestOrBuilder
-
getKey
string key = 2;- Specified by:
getKeyin interfaceUpdateRequestOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()string key = 2;- Specified by:
getKeyBytesin interfaceUpdateRequestOrBuilder- Returns:
- The bytes for key.
-
getIndex
public long getIndex()uint64 index = 3;- Specified by:
getIndexin interfaceUpdateRequestOrBuilder- Returns:
- The index.
-
getValue
public com.google.protobuf.ByteString getValue()bytes value = 4;- Specified by:
getValuein interfaceUpdateRequestOrBuilder- Returns:
- The value.
-
hasTtl
public boolean hasTtl().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];- Specified by:
hasTtlin interfaceUpdateRequestOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];- Specified by:
getTtlin interfaceUpdateRequestOrBuilder- Returns:
- The ttl.
-
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder().google.protobuf.Duration ttl = 5 [(.gogoproto.customname) = "TTL", (.gogoproto.stdduration) = true];- Specified by:
getTtlOrBuilderin interfaceUpdateRequestOrBuilder
-
getPrevVersion
public long getPrevVersion()uint64 prev_version = 6;- Specified by:
getPrevVersionin interfaceUpdateRequestOrBuilder- Returns:
- The prevVersion.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpdateRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UpdateRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UpdateRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpdateRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-