public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (trip_ == null) { trip_ = new global::Expero.Trip(); } input.ReadMessage(trip_); break; } case 21: { Latitude = input.ReadFloat(); break; } case 29: { Longitude = input.ReadFloat(); break; } } } }
public void MergeFrom(Point other) { if (other == null) { return; } if (other.trip_ != null) { if (trip_ == null) { trip_ = new global::Expero.Trip(); } Trip.MergeFrom(other.Trip); } if (other.Latitude != 0F) { Latitude = other.Latitude; } if (other.Longitude != 0F) { Longitude = other.Longitude; } }
public global::Expero.Point ReadLastLocation(global::Expero.Trip request, CallOptions options) { var call = CreateCall(__Method_ReadLastLocation, options); return(Calls.BlockingUnaryCall(call, request)); }
public AsyncUnaryCall <global::Expero.Point> ReadLastLocationAsync(global::Expero.Trip request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { var call = CreateCall(__Method_ReadLastLocation, new CallOptions(headers, deadline, cancellationToken)); return(Calls.AsyncUnaryCall(call, request)); }
public AsyncUnaryCall <global::Expero.Point> ReadLastLocationAsync(global::Expero.Trip request, CallOptions options) { var call = CreateCall(__Method_ReadLastLocation, options); return(Calls.AsyncUnaryCall(call, request)); }