Class OnRefOnly


  • @Immutable
    public abstract class OnRefOnly
    extends org.projectnessie.model.Content
    Content with on-reference state only.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.projectnessie.model.Content

        org.projectnessie.model.Content.Type
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.projectnessie.model.Content.Type ON_REF_ONLY  
    • Constructor Summary

      Constructors 
      Constructor Description
      OnRefOnly()  
    • Field Detail

      • ON_REF_ONLY

        public static final org.projectnessie.model.Content.Type ON_REF_ONLY
    • Constructor Detail

      • OnRefOnly

        public OnRefOnly()
    • Method Detail

      • onRef

        public static OnRefOnly onRef​(java.lang.String onRef,
                                      java.lang.String contentId)
      • newOnRef

        public static OnRefOnly newOnRef​(java.lang.String onRef)
      • getOnRef

        public abstract java.lang.String getOnRef()
      • getType

        public org.projectnessie.model.Content.Type getType()
        Specified by:
        getType in class org.projectnessie.model.Content
      • serialized

        public com.google.protobuf.ByteString serialized()
      • withId

        public OnRefOnly withId​(org.projectnessie.model.Content c)
      • withId

        public OnRefOnly withId​(java.lang.String id)