Class ObjectTypes.IcebergRefState

java.lang.Object
org.projectnessie.nessie.relocated.protobuf.AbstractMessageLite
org.projectnessie.nessie.relocated.protobuf.AbstractMessage
org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
org.projectnessie.server.store.proto.ObjectTypes.IcebergRefState
All Implemented Interfaces:
Serializable, org.projectnessie.nessie.relocated.protobuf.Message, org.projectnessie.nessie.relocated.protobuf.MessageLite, org.projectnessie.nessie.relocated.protobuf.MessageLiteOrBuilder, org.projectnessie.nessie.relocated.protobuf.MessageOrBuilder, ObjectTypes.IcebergRefStateOrBuilder
Enclosing class:
ObjectTypes

public static final class ObjectTypes.IcebergRefState extends org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3 implements ObjectTypes.IcebergRefStateOrBuilder
Protobuf type nessie.store.IcebergRefState
See Also:
  • Field Details

    • SNAPSHOT_ID_FIELD_NUMBER

      public static final int SNAPSHOT_ID_FIELD_NUMBER
      See Also:
    • SCHEMA_ID_FIELD_NUMBER

      public static final int SCHEMA_ID_FIELD_NUMBER
      See Also:
    • SPEC_ID_FIELD_NUMBER

      public static final int SPEC_ID_FIELD_NUMBER
      See Also:
    • SORT_ORDER_ID_FIELD_NUMBER

      public static final int SORT_ORDER_ID_FIELD_NUMBER
      See Also:
    • METADATA_LOCATION_FIELD_NUMBER

      public static final int METADATA_LOCATION_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • CURRENT_PARTS_FIELD_NUMBER

      public static final int CURRENT_PARTS_FIELD_NUMBER
      See Also:
    • EXTRA_PARTS_FIELD_NUMBER

      public static final int EXTRA_PARTS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final org.projectnessie.nessie.relocated.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
    • getSnapshotId

      public long getSnapshotId()
      int64 snapshot_id = 1;
      Specified by:
      getSnapshotId in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The snapshotId.
    • getSchemaId

      public int getSchemaId()
      int32 schema_id = 2;
      Specified by:
      getSchemaId in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The schemaId.
    • getSpecId

      public int getSpecId()
      int32 spec_id = 3;
      Specified by:
      getSpecId in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The specId.
    • getSortOrderId

      public int getSortOrderId()
      int32 sort_order_id = 4;
      Specified by:
      getSortOrderId in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The sortOrderId.
    • hasMetadataLocation

      public boolean hasMetadataLocation()
      optional string metadata_location = 5;
      Specified by:
      hasMetadataLocation in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      Whether the metadataLocation field is set.
    • getMetadataLocation

      public String getMetadataLocation()
      optional string metadata_location = 5;
      Specified by:
      getMetadataLocation in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The metadataLocation.
    • getMetadataLocationBytes

      public org.projectnessie.nessie.relocated.protobuf.ByteString getMetadataLocationBytes()
      optional string metadata_location = 5;
      Specified by:
      getMetadataLocationBytes in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The bytes for metadataLocation.
    • hasMetadata

      public boolean hasMetadata()
       Reference to the shallow table metadata
       
      optional .nessie.store.ContentPartReference metadata = 6;
      Specified by:
      hasMetadata in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public ObjectTypes.ContentPartReference getMetadata()
       Reference to the shallow table metadata
       
      optional .nessie.store.ContentPartReference metadata = 6;
      Specified by:
      getMetadata in interface ObjectTypes.IcebergRefStateOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public ObjectTypes.ContentPartReferenceOrBuilder getMetadataOrBuilder()
       Reference to the shallow table metadata
       
      optional .nessie.store.ContentPartReference metadata = 6;
      Specified by:
      getMetadataOrBuilder in interface ObjectTypes.IcebergRefStateOrBuilder
    • getCurrentPartsList

      public List<ObjectTypes.ContentPartReference> getCurrentPartsList()
       References to the current/default child objects. E.g. the reference to
       the snapshot referred to by table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference current_parts = 7;
      Specified by:
      getCurrentPartsList in interface ObjectTypes.IcebergRefStateOrBuilder
    • getCurrentPartsOrBuilderList

      public List<? extends ObjectTypes.ContentPartReferenceOrBuilder> getCurrentPartsOrBuilderList()
       References to the current/default child objects. E.g. the reference to
       the snapshot referred to by table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference current_parts = 7;
      Specified by:
      getCurrentPartsOrBuilderList in interface ObjectTypes.IcebergRefStateOrBuilder
    • getCurrentPartsCount

      public int getCurrentPartsCount()
       References to the current/default child objects. E.g. the reference to
       the snapshot referred to by table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference current_parts = 7;
      Specified by:
      getCurrentPartsCount in interface ObjectTypes.IcebergRefStateOrBuilder
    • getCurrentParts

      public ObjectTypes.ContentPartReference getCurrentParts(int index)
       References to the current/default child objects. E.g. the reference to
       the snapshot referred to by table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference current_parts = 7;
      Specified by:
      getCurrentParts in interface ObjectTypes.IcebergRefStateOrBuilder
    • getCurrentPartsOrBuilder

      public ObjectTypes.ContentPartReferenceOrBuilder getCurrentPartsOrBuilder(int index)
       References to the current/default child objects. E.g. the reference to
       the snapshot referred to by table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference current_parts = 7;
      Specified by:
      getCurrentPartsOrBuilder in interface ObjectTypes.IcebergRefStateOrBuilder
    • getExtraPartsList

      public List<ObjectTypes.ContentPartReference> getExtraPartsList()
       References to the non-current/default child objects. E.g. references to
       snapshots with snapshot-id != table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference extra_parts = 8;
      Specified by:
      getExtraPartsList in interface ObjectTypes.IcebergRefStateOrBuilder
    • getExtraPartsOrBuilderList

      public List<? extends ObjectTypes.ContentPartReferenceOrBuilder> getExtraPartsOrBuilderList()
       References to the non-current/default child objects. E.g. references to
       snapshots with snapshot-id != table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference extra_parts = 8;
      Specified by:
      getExtraPartsOrBuilderList in interface ObjectTypes.IcebergRefStateOrBuilder
    • getExtraPartsCount

      public int getExtraPartsCount()
       References to the non-current/default child objects. E.g. references to
       snapshots with snapshot-id != table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference extra_parts = 8;
      Specified by:
      getExtraPartsCount in interface ObjectTypes.IcebergRefStateOrBuilder
    • getExtraParts

      public ObjectTypes.ContentPartReference getExtraParts(int index)
       References to the non-current/default child objects. E.g. references to
       snapshots with snapshot-id != table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference extra_parts = 8;
      Specified by:
      getExtraParts in interface ObjectTypes.IcebergRefStateOrBuilder
    • getExtraPartsOrBuilder

      public ObjectTypes.ContentPartReferenceOrBuilder getExtraPartsOrBuilder(int index)
       References to the non-current/default child objects. E.g. references to
       snapshots with snapshot-id != table-metadata.current-snapshot-id.
       
      repeated .nessie.store.ContentPartReference extra_parts = 8;
      Specified by:
      getExtraPartsOrBuilder in interface ObjectTypes.IcebergRefStateOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.projectnessie.nessie.relocated.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(org.projectnessie.nessie.relocated.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.projectnessie.nessie.relocated.protobuf.MessageLite
      Overrides:
      writeTo in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.projectnessie.nessie.relocated.protobuf.MessageLite
      Overrides:
      getSerializedSize in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.projectnessie.nessie.relocated.protobuf.Message
      Overrides:
      equals in class org.projectnessie.nessie.relocated.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.projectnessie.nessie.relocated.protobuf.Message
      Overrides:
      hashCode in class org.projectnessie.nessie.relocated.protobuf.AbstractMessage
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(ByteBuffer data) throws org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
      Throws:
      org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(ByteBuffer data, org.projectnessie.nessie.relocated.protobuf.ExtensionRegistryLite extensionRegistry) throws org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
      Throws:
      org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(org.projectnessie.nessie.relocated.protobuf.ByteString data) throws org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
      Throws:
      org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(org.projectnessie.nessie.relocated.protobuf.ByteString data, org.projectnessie.nessie.relocated.protobuf.ExtensionRegistryLite extensionRegistry) throws org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
      Throws:
      org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(byte[] data) throws org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
      Throws:
      org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(byte[] data, org.projectnessie.nessie.relocated.protobuf.ExtensionRegistryLite extensionRegistry) throws org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
      Throws:
      org.projectnessie.nessie.relocated.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(InputStream input, org.projectnessie.nessie.relocated.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ObjectTypes.IcebergRefState parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ObjectTypes.IcebergRefState parseDelimitedFrom(InputStream input, org.projectnessie.nessie.relocated.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(org.projectnessie.nessie.relocated.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ObjectTypes.IcebergRefState parseFrom(org.projectnessie.nessie.relocated.protobuf.CodedInputStream input, org.projectnessie.nessie.relocated.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ObjectTypes.IcebergRefState.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface org.projectnessie.nessie.relocated.protobuf.Message
      Specified by:
      newBuilderForType in interface org.projectnessie.nessie.relocated.protobuf.MessageLite
    • newBuilder

      public static ObjectTypes.IcebergRefState.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface org.projectnessie.nessie.relocated.protobuf.Message
      Specified by:
      toBuilder in interface org.projectnessie.nessie.relocated.protobuf.MessageLite
    • newBuilderForType

      protected ObjectTypes.IcebergRefState.Builder newBuilderForType(org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ObjectTypes.IcebergRefState getDefaultInstance()
    • parser

      public static org.projectnessie.nessie.relocated.protobuf.Parser<ObjectTypes.IcebergRefState> parser()
    • getParserForType

      public org.projectnessie.nessie.relocated.protobuf.Parser<ObjectTypes.IcebergRefState> getParserForType()
      Specified by:
      getParserForType in interface org.projectnessie.nessie.relocated.protobuf.Message
      Specified by:
      getParserForType in interface org.projectnessie.nessie.relocated.protobuf.MessageLite
      Overrides:
      getParserForType in class org.projectnessie.nessie.relocated.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ObjectTypes.IcebergRefState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.projectnessie.nessie.relocated.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.projectnessie.nessie.relocated.protobuf.MessageOrBuilder