public void MergeFrom(AcademyStateProto other) { if (other == null) { return; } if (other.handle_ != null) { if (handle_ == null) { handle_ = new global::HandleTypeProto(); } Handle.MergeFrom(other.Handle); } if (other.AcademyName.Length != 0) { AcademyName = other.AcademyName; } if (other.BrainCount != 0) { BrainCount = other.BrainCount; } states_.Add(other.states_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { AcademyName = input.ReadString(); break; } case 16: { BrainCount = input.ReadInt32(); break; } case 26: { states_.AddEntriesFrom(input, _repeated_states_codec); break; } case 34: { if (handle_ == null) { handle_ = new global::HandleTypeProto(); } input.ReadMessage(handle_); break; } } } }
public virtual global::System.Threading.Tasks.Task <global::HandleTypeProto> FAPSAGENT_Stop(global::HandleTypeProto request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual grpc::AsyncUnaryCall <global::HandleTypeProto> FAPSAGENT_StopAsync(global::HandleTypeProto request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_FAPSAGENT_Stop, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HandleTypeProto> FAPSAGENT_StopAsync(global::HandleTypeProto request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(FAPSAGENT_StopAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::HandleTypeProto FAPSAGENT_Stop(global::HandleTypeProto request, grpc::CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_FAPSAGENT_Stop, null, options, request)); }