public void MergeFrom(BytesContent other) { if (other == null) { return; } if (other.FileSize != 0L) { FileSize = other.FileSize; } if (other.Buffer.Length != 0) { Buffer = other.Buffer; } if (other.ReadedByte != 0) { ReadedByte = other.ReadedByte; } if (other.info_ != null) { if (info_ == null) { Info = new global::grpcFileTransportServer.FileInfo(); } Info.MergeFrom(other.Info); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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 8: { FileSize = input.ReadInt64(); break; } case 18: { Buffer = input.ReadBytes(); break; } case 24: { ReadedByte = input.ReadInt32(); break; } case 34: { if (info_ == null) { Info = new global::grpcFileTransportServer.FileInfo(); } input.ReadMessage(Info); break; } } } #endif }
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 8: { FileSize = input.ReadInt64(); break; } case 18: { Buffer = input.ReadBytes(); break; } case 24: { ReadedByte = input.ReadInt32(); break; } case 34: { if (info_ == null) { Info = new global::grpcFileTransportServer.FileInfo(); } input.ReadMessage(Info); break; } } } }
public virtual global::System.Threading.Tasks.Task FileDownload(global::grpcFileTransportServer.FileInfo request, grpc::IServerStreamWriter <global::grpcFileTransportServer.BytesContent> responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }