Class OnRefOnly
- java.lang.Object
-
- org.projectnessie.model.Content
-
- org.projectnessie.versioned.testworker.OnRefOnly
-
@Immutable public abstract class OnRefOnly extends org.projectnessie.model.ContentContent with on-reference state only.
-
-
Field Summary
Fields Modifier and Type Field Description static org.projectnessie.model.Content.TypeON_REF_ONLY
-
Constructor Summary
Constructors Constructor Description OnRefOnly()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.StringgetOnRef()org.projectnessie.model.Content.TypegetType()static OnRefOnlynewOnRef(java.lang.String onRef)static OnRefOnlyonRef(java.lang.String onRef, java.lang.String contentId)com.google.protobuf.ByteStringserialized()OnRefOnlywithId(java.lang.String id)OnRefOnlywithId(org.projectnessie.model.Content c)
-
-
-
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:
getTypein classorg.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)
-
-