public void MergeFrom(HousekeepingTime other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.Name.Length != 0) { Name = other.Name; } if (other.timePastLocalMidnight_ != null) { if (timePastLocalMidnight_ == null) { timePastLocalMidnight_ = new global::Google.Protobuf.WellKnownTypes.Duration(); } TimePastLocalMidnight.MergeFrom(other.TimePastLocalMidnight); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator(); } input.ReadMessage(entityId_); break; } case 18: { Name = input.ReadString(); break; } case 26: { if (timePastLocalMidnight_ == null) { timePastLocalMidnight_ = new global::Google.Protobuf.WellKnownTypes.Duration(); } input.ReadMessage(timePastLocalMidnight_); break; } } } }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Operations.Housekeeping.HousekeepingTime> GetById(global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.Housekeeping.HousekeepingTime> GetByIdAsync(global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.Housekeeping.HousekeepingTime> GetByIdAsync(global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetByIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::HOLMS.Types.Operations.Housekeeping.HousekeepingTime GetById(global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator request, CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request)); }
public virtual global::HOLMS.Types.Operations.Housekeeping.HousekeepingTime GetById(global::HOLMS.Types.Operations.Housekeeping.HousekeepingTimeIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetById(request, new CallOptions(headers, deadline, cancellationToken))); }