Class EntryMutation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
studio.o7.octopus.sdk.gen.api.v1.EntryMutation
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,EntryMutationOrBuilder
public final class EntryMutation
extends com.google.protobuf.GeneratedMessageV3
implements EntryMutationOrBuilder
EntryMutation Represents a mutation (create, update, delete) operation on an entry. The mutation can be one of the following types: - CREATE: create a new entry - UPDATE: update an existing entry - DELETE: delete an entry permanently - SOFT_DELETE: mark an entry as deleted without removing it immediatelyProtobuf type
api.v1.EntryMutation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEntryMutation Represents a mutation (create, update, delete) operation on an entry.static enumProtobuf enumapi.v1.EntryMutation.MutationTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionSerializer, com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWriterNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T> Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.ValuegetData()The data payload associated with the mutation.com.google.protobuf.ValueOrBuilderThe data payload associated with the mutation.static EntryMutationcom.google.protobuf.TimestampTimestamp when the entry should be deleted from the database.com.google.protobuf.TimestampOrBuilderTimestamp when the entry should be deleted from the database.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTimestamp when the entry expires and should no longer be visible to clients.com.google.protobuf.TimestampOrBuilderTimestamp when the entry expires and should no longer be visible to clients.com.google.protobuf.Parser<EntryMutation> intgetType()The type of mutation to perform.intThe type of mutation to perform.booleanhasData()The data payload associated with the mutation.booleanTimestamp when the entry should be deleted from the database.booleanTimestamp when the entry expires and should no longer be visible to clients.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic EntryMutation.Builderstatic EntryMutation.BuildernewBuilder(EntryMutation prototype) protected EntryMutation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EntryMutationparseDelimitedFrom(InputStream input) static EntryMutationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryMutationparseFrom(byte[] data) static EntryMutationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryMutationparseFrom(com.google.protobuf.ByteString data) static EntryMutationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryMutationparseFrom(com.google.protobuf.CodedInputStream input) static EntryMutationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryMutationparseFrom(InputStream input) static EntryMutationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntryMutationparseFrom(ByteBuffer data) static EntryMutationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EntryMutation> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForTypeMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriterMethods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
EXPIRED_AT_FIELD_NUMBER
public static final int EXPIRED_AT_FIELD_NUMBER- See Also:
-
DELETED_AT_FIELD_NUMBER
public static final int DELETED_AT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeValue
public int getTypeValue()The type of mutation to perform.
.api.v1.EntryMutation.MutationType type = 1 [json_name = "type"];- Specified by:
getTypeValuein interfaceEntryMutationOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
The type of mutation to perform.
.api.v1.EntryMutation.MutationType type = 1 [json_name = "type"];- Specified by:
getTypein interfaceEntryMutationOrBuilder- Returns:
- The type.
-
hasData
public boolean hasData()The data payload associated with the mutation.
.google.protobuf.Value data = 3 [json_name = "data"];- Specified by:
hasDatain interfaceEntryMutationOrBuilder- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Value getData()The data payload associated with the mutation.
.google.protobuf.Value data = 3 [json_name = "data"];- Specified by:
getDatain interfaceEntryMutationOrBuilder- Returns:
- The data.
-
getDataOrBuilder
public com.google.protobuf.ValueOrBuilder getDataOrBuilder()The data payload associated with the mutation.
.google.protobuf.Value data = 3 [json_name = "data"];- Specified by:
getDataOrBuilderin interfaceEntryMutationOrBuilder
-
hasExpiredAt
public boolean hasExpiredAt()Timestamp when the entry expires and should no longer be visible to clients.
optional .google.protobuf.Timestamp expired_at = 5 [json_name = "expiredAt"];- Specified by:
hasExpiredAtin interfaceEntryMutationOrBuilder- Returns:
- Whether the expiredAt field is set.
-
getExpiredAt
public com.google.protobuf.Timestamp getExpiredAt()Timestamp when the entry expires and should no longer be visible to clients.
optional .google.protobuf.Timestamp expired_at = 5 [json_name = "expiredAt"];- Specified by:
getExpiredAtin interfaceEntryMutationOrBuilder- Returns:
- The expiredAt.
-
getExpiredAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiredAtOrBuilder()Timestamp when the entry expires and should no longer be visible to clients.
optional .google.protobuf.Timestamp expired_at = 5 [json_name = "expiredAt"];- Specified by:
getExpiredAtOrBuilderin interfaceEntryMutationOrBuilder
-
hasDeletedAt
public boolean hasDeletedAt()Timestamp when the entry should be deleted from the database.
optional .google.protobuf.Timestamp deleted_at = 6 [json_name = "deletedAt"];- Specified by:
hasDeletedAtin interfaceEntryMutationOrBuilder- Returns:
- Whether the deletedAt field is set.
-
getDeletedAt
public com.google.protobuf.Timestamp getDeletedAt()Timestamp when the entry should be deleted from the database.
optional .google.protobuf.Timestamp deleted_at = 6 [json_name = "deletedAt"];- Specified by:
getDeletedAtin interfaceEntryMutationOrBuilder- Returns:
- The deletedAt.
-
getDeletedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()Timestamp when the entry should be deleted from the database.
optional .google.protobuf.Timestamp deleted_at = 6 [json_name = "deletedAt"];- Specified by:
getDeletedAtOrBuilderin interfaceEntryMutationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 EntryMutation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryMutation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryMutation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryMutation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryMutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntryMutation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EntryMutation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EntryMutation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EntryMutation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EntryMutation 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
-
newBuilderForType
protected EntryMutation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-