Package com.oracle.coherence.grpc
Class MaybeByteString
java.lang.Object
com.oracle.coherence.grpc.MaybeByteString
A wrapper that may contain a 
ByteString.- 
Method SummaryModifier and TypeMethodDescriptionstatic MaybeByteStringempty()Create an emptyMaybeByteString.booleanDetermine whether thisMaybeByteStringcontains aByteString.static MaybeByteStringofNullable(com.google.protobuf.ByteString s) Create aMaybeByteString.com.google.protobuf.ByteStringvalue()Return the wrapped value.
- 
Method Details- 
isPresentpublic boolean isPresent()Determine whether thisMaybeByteStringcontains aByteString.- Returns:
- trueif this wrapper contains a- ByteString
 
- 
valuepublic com.google.protobuf.ByteString value()Return the wrapped value.- Returns:
- the wrapped value
 
- 
ofNullableCreate aMaybeByteString.- Parameters:
- s- the- ByteStringto wrap
- Returns:
- a MaybeByteStringwrapping the specifiedByteString
 
- 
emptyCreate an emptyMaybeByteString.- Returns:
- an empty MaybeByteString
 
 
-