public GetAnnotationRequest build() { Preconditions.checkState(isNoDepth() || isDepthAndKeysNotEmpty()); Preconditions.checkArgument(isNoMaxsize() || maxsize.get() > 0); return new GetAnnotationRequest(this); }
public GetAnnotationRequest build() { Preconditions.checkState(isNoDepth() || isDepthAndKeysNotEmpty()); Preconditions.checkArgument(isNoMaxsize() || maxsize.get() > 0); return new GetAnnotationRequest(this); }