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

public final class Object extends com.google.protobuf.GeneratedMessage implements ObjectOrBuilder
*
Represents a flexible data object.
Protobuf type octopus_sdk.v1.Object
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.Struct
    Flexible JSON-like data structure.
    com.google.protobuf.StructOrBuilder
    Flexible JSON-like data structure.
    static Object
     
     
    com.google.protobuf.Timestamp
    Timestamp when the object should be permanently deleted.
    com.google.protobuf.TimestampOrBuilder
    Timestamp when the object should be permanently deleted.
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Timestamp
    Timestamp when the object should no longer be visible by default.
    com.google.protobuf.TimestampOrBuilder
    Timestamp when the object should no longer be visible by default.
    Unique key identifying the object.
    com.google.protobuf.ByteString
    Unique key identifying the object.
    com.google.protobuf.Parser<Object>
     
    boolean
    This will create a copy of this object and increment the current revision number.
    int
     
    boolean
    Flexible JSON-like data structure.
    boolean
    Timestamp when the object should be permanently deleted.
    boolean
    Timestamp when the object should no longer be visible by default.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Object prototype)
     
     
    protected Object.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Object
     
    static Object
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Object
    parseFrom(byte[] data)
     
    static Object
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Object
    parseFrom(com.google.protobuf.ByteString data)
     
    static Object
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Object
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Object
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Object
     
    static Object
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Object
     
    static Object
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Object>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getKey

      public String getKey()
      Unique key identifying the object.
      
      string key = 1 [json_name = "key"];
      Specified by:
      getKey in interface ObjectOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      Unique key identifying the object.
      
      string key = 1 [json_name = "key"];
      Specified by:
      getKeyBytes in interface ObjectOrBuilder
      Returns:
      The bytes for key.
    • hasData

      public boolean hasData()
      Flexible JSON-like data structure.
      
      .google.protobuf.Struct data = 2 [json_name = "data"];
      Specified by:
      hasData in interface ObjectOrBuilder
      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:
      getData in interface ObjectOrBuilder
      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:
      getDataOrBuilder in interface ObjectOrBuilder
    • 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:
      getPreservePreviousEntry in interface ObjectOrBuilder
      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:
      hasExpiredAt in interface ObjectOrBuilder
      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:
      getExpiredAt in interface ObjectOrBuilder
      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:
      getExpiredAtOrBuilder in interface ObjectOrBuilder
    • hasDeletedAt

      public boolean hasDeletedAt()
      Timestamp when the object should be permanently deleted.
      
      optional .google.protobuf.Timestamp deleted_at = 5 [json_name = "deletedAt"];
      Specified by:
      hasDeletedAt in interface ObjectOrBuilder
      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:
      getDeletedAt in interface ObjectOrBuilder
      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:
      getDeletedAtOrBuilder in interface ObjectOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Object parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Object parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Object parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Object parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Object parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Object parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Object.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Object.Builder newBuilder()
    • newBuilder

      public static Object.Builder newBuilder(Object prototype)
    • toBuilder

      public Object.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Object.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Object getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Object> parser()
    • getParserForType

      public com.google.protobuf.Parser<Object> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Object getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder