public void MergeFrom(Department other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.IAM.DepartmentIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.Name.Length != 0) { Name = other.Name; } if (other.IsHousekeeper != false) { IsHousekeeper = other.IsHousekeeper; } actions_.Add(other.actions_); if (other.IsCashDropInclude != false) { IsCashDropInclude = other.IsCashDropInclude; } }
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.IAM.DepartmentIndicator(); } input.ReadMessage(entityId_); break; } case 18: { Name = input.ReadString(); break; } case 24: { IsHousekeeper = input.ReadBool(); break; } case 34: case 32: { actions_.AddEntriesFrom(input, _repeated_actions_codec); break; } case 40: { IsCashDropInclude = input.ReadBool(); break; } } } }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.IAM.Department> GetById(global::HOLMS.Types.IAM.DepartmentIndicator request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.IAM.Department> GetByIdAsync(global::HOLMS.Types.IAM.DepartmentIndicator request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.IAM.Department> GetByIdAsync(global::HOLMS.Types.IAM.DepartmentIndicator 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.IAM.Department GetById(global::HOLMS.Types.IAM.DepartmentIndicator request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request)); }
public virtual global::HOLMS.Types.IAM.Department GetById(global::HOLMS.Types.IAM.DepartmentIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetById(request, new CallOptions(headers, deadline, cancellationToken))); }
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.IAM.StaffMemberIndicator(); } input.ReadMessage(entityId_); break; } case 18: { UserId = input.ReadString(); break; } case 26: { Password = input.ReadString(); break; } case 34: { DisplayName = input.ReadString(); break; } case 42: { EmergencyContactPhoneNumber = input.ReadString(); break; } case 48: { IsPhoneDataDisplayable = input.ReadBool(); break; } case 58: { if (dateHired_ == null) { dateHired_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(dateHired_); break; } case 64: { IsActive = input.ReadBool(); break; } case 74: { if (department_ == null) { department_ = new global::HOLMS.Types.IAM.DepartmentIndicator(); } input.ReadMessage(department_); break; } case 82: { DepartmentName = input.ReadString(); break; } case 90: { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } input.ReadMessage(contactInfo_); break; } case 96: { IsIncluded = input.ReadBool(); break; } } } }
public void MergeFrom(StaffMember other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.IAM.StaffMemberIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.UserId.Length != 0) { UserId = other.UserId; } if (other.Password.Length != 0) { Password = other.Password; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.EmergencyContactPhoneNumber.Length != 0) { EmergencyContactPhoneNumber = other.EmergencyContactPhoneNumber; } if (other.IsPhoneDataDisplayable != false) { IsPhoneDataDisplayable = other.IsPhoneDataDisplayable; } if (other.dateHired_ != null) { if (dateHired_ == null) { dateHired_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } DateHired.MergeFrom(other.DateHired); } if (other.IsActive != false) { IsActive = other.IsActive; } if (other.department_ != null) { if (department_ == null) { department_ = new global::HOLMS.Types.IAM.DepartmentIndicator(); } Department.MergeFrom(other.Department); } if (other.DepartmentName.Length != 0) { DepartmentName = other.DepartmentName; } if (other.contactInfo_ != null) { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } ContactInfo.MergeFrom(other.ContactInfo); } if (other.IsIncluded != false) { IsIncluded = other.IsIncluded; } }