Class Entry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Entry.Builder>
com.google.protobuf.GeneratedMessage.Builder<Entry.Builder>
studio.o7.octopus.sdk.v1.Entry.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, EntryOrBuilder
Enclosing class:
Entry

public static final class Entry.Builder extends com.google.protobuf.GeneratedMessage.Builder<Entry.Builder> implements EntryOrBuilder
*
A versioned object with metadata from database.
Protobuf type octopus_sdk.v1.Entry
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Entry creation timestamp.
    Unique identifier for this entry.
    The underlying object.
    Revision number, incremented on every update.
    com.google.protobuf.Timestamp
    Entry creation timestamp.
    com.google.protobuf.Timestamp.Builder
    Entry creation timestamp.
    com.google.protobuf.TimestampOrBuilder
    Entry creation timestamp.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Unique identifier for this entry.
    com.google.protobuf.ByteString
    Unique identifier for this entry.
    The underlying object.
    The underlying object.
    The underlying object.
    long
    Revision number, incremented on every update.
    boolean
    Entry creation timestamp.
    boolean
    The underlying object.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeCreatedAt(com.google.protobuf.Timestamp value)
    Entry creation timestamp.
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    The underlying object.
    setCreatedAt(com.google.protobuf.Timestamp value)
    Entry creation timestamp.
    setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
    Entry creation timestamp.
    setId(String value)
    Unique identifier for this entry.
    setIdBytes(com.google.protobuf.ByteString value)
    Unique identifier for this entry.
    The underlying object.
    setObject(Object.Builder builderForValue)
    The underlying object.
    setRevision(long value)
    Revision number, incremented on every update.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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.Builder<Entry.Builder>
    • clear

      public Entry.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Entry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Entry.Builder>
    • getDefaultInstanceForType

      public Entry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Entry build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Entry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Entry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Entry.Builder>
    • mergeFrom

      public Entry.Builder mergeFrom(Entry other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Entry.Builder>
    • mergeFrom

      public Entry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Entry.Builder>
      Throws:
      IOException
    • hasObject

      public boolean hasObject()
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
      Specified by:
      hasObject in interface EntryOrBuilder
      Returns:
      Whether the object field is set.
    • getObject

      public Object getObject()
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
      Specified by:
      getObject in interface EntryOrBuilder
      Returns:
      The object.
    • setObject

      public Entry.Builder setObject(Object value)
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • setObject

      public Entry.Builder setObject(Object.Builder builderForValue)
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • mergeObject

      public Entry.Builder mergeObject(Object value)
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • clearObject

      public Entry.Builder clearObject()
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • getObjectBuilder

      public Object.Builder getObjectBuilder()
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
    • getObjectOrBuilder

      public ObjectOrBuilder getObjectOrBuilder()
      The underlying object.
      
      .octopus_sdk.v1.Object object = 1 [json_name = "object"];
      Specified by:
      getObjectOrBuilder in interface EntryOrBuilder
    • hasCreatedAt

      public boolean hasCreatedAt()
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
      Specified by:
      hasCreatedAt in interface EntryOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
      Specified by:
      getCreatedAt in interface EntryOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public Entry.Builder setCreatedAt(com.google.protobuf.Timestamp value)
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
    • setCreatedAt

      public Entry.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
    • mergeCreatedAt

      public Entry.Builder mergeCreatedAt(com.google.protobuf.Timestamp value)
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
    • clearCreatedAt

      public Entry.Builder clearCreatedAt()
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
    • getCreatedAtBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
      Entry creation timestamp.
      
      .google.protobuf.Timestamp created_at = 2 [json_name = "createdAt"];
      Specified by:
      getCreatedAtOrBuilder in interface EntryOrBuilder
    • getRevision

      public long getRevision()
      Revision number, incremented on every update.
      
      int64 revision = 3 [json_name = "revision"];
      Specified by:
      getRevision in interface EntryOrBuilder
      Returns:
      The revision.
    • setRevision

      public Entry.Builder setRevision(long value)
      Revision number, incremented on every update.
      
      int64 revision = 3 [json_name = "revision"];
      Parameters:
      value - The revision to set.
      Returns:
      This builder for chaining.
    • clearRevision

      public Entry.Builder clearRevision()
      Revision number, incremented on every update.
      
      int64 revision = 3 [json_name = "revision"];
      Returns:
      This builder for chaining.
    • getId

      public String getId()
      Unique identifier for this entry.
      
      string id = 4 [json_name = "id"];
      Specified by:
      getId in interface EntryOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      Unique identifier for this entry.
      
      string id = 4 [json_name = "id"];
      Specified by:
      getIdBytes in interface EntryOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Entry.Builder setId(String value)
      Unique identifier for this entry.
      
      string id = 4 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Entry.Builder clearId()
      Unique identifier for this entry.
      
      string id = 4 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Entry.Builder setIdBytes(com.google.protobuf.ByteString value)
      Unique identifier for this entry.
      
      string id = 4 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.