Class Object
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
studio.o7.octopus.sdk.v1.Object
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ObjectOrBuilder
* Represents a flexible data object.Protobuf type
octopus_sdk.v1.Object- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* Represents a flexible data object.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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 intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.StructgetData()Flexible JSON-like data structure.com.google.protobuf.StructOrBuilderFlexible JSON-like data structure.static Objectcom.google.protobuf.TimestampTimestamp when the object should be permanently deleted.com.google.protobuf.TimestampOrBuilderTimestamp when the object should be permanently deleted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTimestamp when the object should no longer be visible by default.com.google.protobuf.TimestampOrBuilderTimestamp when the object should no longer be visible by default.getKey()Unique key identifying the object.com.google.protobuf.ByteStringUnique key identifying the object.com.google.protobuf.Parser<Object> booleanThis will create a copy of this object and increment the current revision number.intbooleanhasData()Flexible JSON-like data structure.booleanTimestamp when the object should be permanently deleted.booleanTimestamp when the object should no longer be visible by default.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Object.Builderstatic Object.BuildernewBuilder(Object prototype) protected Object.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ObjectparseDelimitedFrom(InputStream input) static ObjectparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ObjectparseFrom(byte[] data) static ObjectparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ObjectparseFrom(com.google.protobuf.ByteString data) static ObjectparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ObjectparseFrom(com.google.protobuf.CodedInputStream input) static ObjectparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ObjectparseFrom(InputStream input) static ObjectparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ObjectparseFrom(ByteBuffer data) static ObjectparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Object> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, 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 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
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
PRESERVE_PREVIOUS_ENTRY_FIELD_NUMBER
public static final int PRESERVE_PREVIOUS_ENTRY_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
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getKey
Unique key identifying the object.
string key = 1 [json_name = "key"];- Specified by:
getKeyin interfaceObjectOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()Unique key identifying the object.
string key = 1 [json_name = "key"];- Specified by:
getKeyBytesin interfaceObjectOrBuilder- Returns:
- The bytes for key.
-
hasData
public boolean hasData()Flexible JSON-like data structure.
.google.protobuf.Struct data = 2 [json_name = "data"];- Specified by:
hasDatain interfaceObjectOrBuilder- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Struct getData()Flexible JSON-like data structure.
.google.protobuf.Struct data = 2 [json_name = "data"];- Specified by:
getDatain interfaceObjectOrBuilder- Returns:
- The data.
-
getDataOrBuilder
public com.google.protobuf.StructOrBuilder getDataOrBuilder()Flexible JSON-like data structure.
.google.protobuf.Struct data = 2 [json_name = "data"];- Specified by:
getDataOrBuilderin interfaceObjectOrBuilder
-
getPreservePreviousEntry
public boolean getPreservePreviousEntry()This will create a copy of this object and increment the current revision number.
bool preserve_previous_entry = 3 [json_name = "preservePreviousEntry"];- Specified by:
getPreservePreviousEntryin interfaceObjectOrBuilder- Returns:
- The preservePreviousEntry.
-
hasExpiredAt
public boolean hasExpiredAt()Timestamp when the object should no longer be visible by default.
optional .google.protobuf.Timestamp expired_at = 4 [json_name = "expiredAt"];- Specified by:
hasExpiredAtin interfaceObjectOrBuilder- Returns:
- Whether the expiredAt field is set.
-
getExpiredAt
public com.google.protobuf.Timestamp getExpiredAt()Timestamp when the object should no longer be visible by default.
optional .google.protobuf.Timestamp expired_at = 4 [json_name = "expiredAt"];- Specified by:
getExpiredAtin interfaceObjectOrBuilder- Returns:
- The expiredAt.
-
getExpiredAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpiredAtOrBuilder()Timestamp when the object should no longer be visible by default.
optional .google.protobuf.Timestamp expired_at = 4 [json_name = "expiredAt"];- Specified by:
getExpiredAtOrBuilderin interfaceObjectOrBuilder
-
hasDeletedAt
public boolean hasDeletedAt()Timestamp when the object should be permanently deleted.
optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];- Specified by:
hasDeletedAtin interfaceObjectOrBuilder- Returns:
- Whether the deletedAt field is set.
-
getDeletedAt
public com.google.protobuf.Timestamp getDeletedAt()Timestamp when the object should be permanently deleted.
optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];- Specified by:
getDeletedAtin interfaceObjectOrBuilder- Returns:
- The deletedAt.
-
getDeletedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeletedAtOrBuilder()Timestamp when the object should be permanently deleted.
optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];- Specified by:
getDeletedAtOrBuilderin interfaceObjectOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
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 Object parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Object parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Object parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Object parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Object parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Object parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Object parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Object parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Object 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 Object.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
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.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-