Пример #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (actor_ == null)
                    {
                        Actor = new global::EvaluationSeries.Grpc.ActorAdd();
                    }
                    input.ReadMessage(Actor);
                    break;
                }
                }
            }
    #endif
        }
Пример #2
0
 public void MergeFrom(GetActorByIdResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.actor_ != null)
     {
         if (actor_ == null)
         {
             Actor = new global::EvaluationSeries.Grpc.ActorAdd();
         }
         Actor.MergeFrom(other.Actor);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Пример #3
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    if (actor_ == null)
                    {
                        Actor = new global::EvaluationSeries.Grpc.ActorAdd();
                    }
                    input.ReadMessage(Actor);
                    break;
                }
                }
            }
        }
Пример #4
0
 public virtual grpc::AsyncUnaryCall <global::EvaluationSeries.Grpc.ActorsMessageResponse> PutActorAsync(global::EvaluationSeries.Grpc.ActorAdd request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_PutActor, null, options, request));
 }
Пример #5
0
 public virtual grpc::AsyncUnaryCall <global::EvaluationSeries.Grpc.ActorsMessageResponse> PutActorAsync(global::EvaluationSeries.Grpc.ActorAdd request, grpc::Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
 {
     return(PutActorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
Пример #6
0
 public virtual global::EvaluationSeries.Grpc.ActorsMessageResponse PostActor(global::EvaluationSeries.Grpc.ActorAdd request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_PostActor, null, options, request));
 }
Пример #7
0
 public virtual global::System.Threading.Tasks.Task <global::EvaluationSeries.Grpc.ActorsMessageResponse> PutActor(global::EvaluationSeries.Grpc.ActorAdd request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }